// Type definitions for Mawidi platform

export interface LangParams {
  params: {
    lang: 'ar' | 'en'
  }
}

export interface PageProps extends LangParams {
  searchParams?: { [key: string]: string | string[] | undefined }
}

export interface LayoutProps extends LangParams {
  children: React.ReactNode
}

export type Language = 'ar' | 'en'

export interface LocaleConfig {
  lang: Language
  dir: 'rtl' | 'ltr'
  t: Record<string, any>
}