// This file is generated automatically by Next.js
// Do not edit this file manually

type AppRoutes = "/" | "/LandingPage/OurCoreValues" | "/LandingPage/brands" | "/LandingPage/causes" | "/LandingPage/funding" | "/LandingPage/home" | "/LandingPage/volunteercontact" | "/Programs" | "/Programs/Events" | "/Programs/Gallery" | "/Programs/Gallery/GalleryHero" | "/Programs/Gallery/GallerySection" | "/Programs/ProgramHero" | "/Programs/ProgramsApproach" | "/Programs/Toogle" | "/about" | "/about/Ourapproach" | "/about/Story" | "/about/Story/hero" | "/about/Story/journey" | "/about/ValueMissionVision" | "/about/abouthero" | "/about/whoweare" | "/admin" | "/admin/adminuser" | "/admin/auth/login" | "/admin/dashboard" | "/admin/events" | "/admin/formdata" | "/admin/reports" | "/contact" | "/donate" | "/policy/privacypolicy" | "/policy/termscondition"
type PageRoutes = never
type LayoutRoutes = "/" | "/admin"
type RedirectRoutes = never
type RewriteRoutes = never
type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes


interface ParamMap {
  "/": {}
  "/about": {}
  "/about/abouthero": {}
  "/about/Ourapproach": {}
  "/about/Story": {}
  "/about/Story/hero": {}
  "/about/Story/journey": {}
  "/about/ValueMissionVision": {}
  "/about/whoweare": {}
  "/admin": {}
  "/admin/adminuser": {}
  "/admin/auth/login": {}
  "/admin/dashboard": {}
  "/admin/events": {}
  "/admin/formdata": {}
  "/admin/reports": {}
  "/contact": {}
  "/donate": {}
  "/LandingPage/brands": {}
  "/LandingPage/causes": {}
  "/LandingPage/funding": {}
  "/LandingPage/home": {}
  "/LandingPage/OurCoreValues": {}
  "/LandingPage/volunteercontact": {}
  "/policy/privacypolicy": {}
  "/policy/termscondition": {}
  "/Programs": {}
  "/Programs/Events": {}
  "/Programs/Gallery": {}
  "/Programs/Gallery/GalleryHero": {}
  "/Programs/Gallery/GallerySection": {}
  "/Programs/ProgramHero": {}
  "/Programs/ProgramsApproach": {}
  "/Programs/Toogle": {}
}


export type ParamsOf<Route extends Routes> = ParamMap[Route]

interface LayoutSlotMap {
  "/": never
  "/admin": never
}


export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap }

declare global {
  /**
   * Props for Next.js App Router page components
   * @example
   * ```tsx
   * export default function Page(props: PageProps<'/blog/[slug]'>) {
   *   const { slug } = await props.params
   *   return <div>Blog post: {slug}</div>
   * }
   * ```
   */
  interface PageProps<AppRoute extends AppRoutes> {
    params: Promise<ParamMap[AppRoute]>
    searchParams: Promise<Record<string, string | string[] | undefined>>
  }

  /**
   * Props for Next.js App Router layout components
   * @example
   * ```tsx
   * export default function Layout(props: LayoutProps<'/dashboard'>) {
   *   return <div>{props.children}</div>
   * }
   * ```
   */
  type LayoutProps<LayoutRoute extends LayoutRoutes> = {
    params: Promise<ParamMap[LayoutRoute]>
    children: React.ReactNode
  } & {
    [K in LayoutSlotMap[LayoutRoute]]: React.ReactNode
  }
}
