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

type AppRoutes = never
type PageRoutes = "/" | "/404" | "/500" | "/about-us" | "/campaigns" | "/campaigns/[id]" | "/cancellation-policy" | "/cancellation-policy/ProtectCancellation" | "/categories" | "/category/[id]" | "/checkout" | "/cuisines" | "/cuisines/[id]" | "/deliveryman-registration" | "/help-and-support" | "/home" | "/info" | "/info/loyality/LoyalityModal" | "/interest" | "/maintenance" | "/order" | "/order-history" | "/order-history/[id]" | "/privacy-policy" | "/rate-and-review/[id]" | "/recently-view-restaurant" | "/refund-policy" | "/refund-policy/ProtectRefund" | "/restaurant" | "/restaurant-registration" | "/restaurant-registration-landing" | "/restaurant/[id]" | "/restaurant/latest" | "/restaurant/popular" | "/restaurant/type/[type]" | "/search" | "/shipping-policy" | "/shipping-policy/ProtectShipping" | "/store-registration" | "/terms-and-conditions" | "/tracking" | "/tracking/[id]" | "/wishlist"
type LayoutRoutes = never
type RedirectRoutes = never
type RewriteRoutes = never
type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes


interface ParamMap {
  "/": {}
  "/404": {}
  "/500": {}
  "/about-us": {}
  "/campaigns": {}
  "/campaigns/[id]": { "id": string; }
  "/cancellation-policy": {}
  "/cancellation-policy/ProtectCancellation": {}
  "/categories": {}
  "/category/[id]": { "id": string; }
  "/checkout": {}
  "/cuisines": {}
  "/cuisines/[id]": { "id": string; }
  "/deliveryman-registration": {}
  "/help-and-support": {}
  "/home": {}
  "/info": {}
  "/info/loyality/LoyalityModal": {}
  "/interest": {}
  "/maintenance": {}
  "/order": {}
  "/order-history": {}
  "/order-history/[id]": { "id": string; }
  "/privacy-policy": {}
  "/rate-and-review/[id]": { "id": string; }
  "/recently-view-restaurant": {}
  "/refund-policy": {}
  "/refund-policy/ProtectRefund": {}
  "/restaurant": {}
  "/restaurant-registration": {}
  "/restaurant-registration-landing": {}
  "/restaurant/[id]": { "id": string; }
  "/restaurant/latest": {}
  "/restaurant/popular": {}
  "/restaurant/type/[type]": { "type": string; }
  "/search": {}
  "/shipping-policy": {}
  "/shipping-policy/ProtectShipping": {}
  "/store-registration": {}
  "/terms-and-conditions": {}
  "/tracking": {}
  "/tracking/[id]": { "id": string; }
  "/wishlist": {}
}


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

interface LayoutSlotMap {
}


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
  }
}
