// This file is generated automatically by Next.js
// Do not edit this file manually
// This file validates that all pages and layouts export the correct types

import type { AppRoutes, LayoutRoutes, ParamMap } from "./routes.js"
import type { ResolvingMetadata, ResolvingViewport } from "next/dist/lib/metadata/types/metadata-interface.js"

type AppPageConfig<Route extends AppRoutes = AppRoutes> = {
  default: React.ComponentType<{ params: Promise<ParamMap[Route]> } & any> | ((props: { params: Promise<ParamMap[Route]> } & any) => React.ReactNode | Promise<React.ReactNode> | never | void | Promise<void>)
  generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise<any[]> | any[]
  generateMetadata?: (
    props: { params: Promise<ParamMap[Route]> } & any,
    parent: ResolvingMetadata
  ) => Promise<any> | any
  generateViewport?: (
    props: { params: Promise<ParamMap[Route]> } & any,
    parent: ResolvingViewport
  ) => Promise<any> | any
  metadata?: any
  viewport?: any
}

type LayoutConfig<Route extends LayoutRoutes = LayoutRoutes> = {
  default: React.ComponentType<LayoutProps<Route>> | ((props: LayoutProps<Route>) => React.ReactNode | Promise<React.ReactNode> | never | void | Promise<void>)
  generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise<any[]> | any[]
  generateMetadata?: (
    props: { params: Promise<ParamMap[Route]> } & any,
    parent: ResolvingMetadata
  ) => Promise<any> | any
  generateViewport?: (
    props: { params: Promise<ParamMap[Route]> } & any,
    parent: ResolvingViewport
  ) => Promise<any> | any
  metadata?: any
  viewport?: any
}


// Validate ../../src/app/cart-empty/page.tsx
{
  const handler = {} as typeof import("../../src/app/cart-empty/page.js")
  handler satisfies AppPageConfig<"/cart-empty">
}

// Validate ../../src/app/checkout/page.tsx
{
  const handler = {} as typeof import("../../src/app/checkout/page.js")
  handler satisfies AppPageConfig<"/checkout">
}

// Validate ../../src/app/confirmation-code/page.tsx
{
  const handler = {} as typeof import("../../src/app/confirmation-code/page.js")
  handler satisfies AppPageConfig<"/confirmation-code">
}

// Validate ../../src/app/dish/[id]/page.tsx
{
  const handler = {} as typeof import("../../src/app/dish/[id]/page.js")
  handler satisfies AppPageConfig<"/dish/[id]">
}

// Validate ../../src/app/edit-profile/page.tsx
{
  const handler = {} as typeof import("../../src/app/edit-profile/page.js")
  handler satisfies AppPageConfig<"/edit-profile">
}

// Validate ../../src/app/forgot-password-sent-email/page.tsx
{
  const handler = {} as typeof import("../../src/app/forgot-password-sent-email/page.js")
  handler satisfies AppPageConfig<"/forgot-password-sent-email">
}

// Validate ../../src/app/forgot-password/page.tsx
{
  const handler = {} as typeof import("../../src/app/forgot-password/page.js")
  handler satisfies AppPageConfig<"/forgot-password">
}

// Validate ../../src/app/home/page.tsx
{
  const handler = {} as typeof import("../../src/app/home/page.js")
  handler satisfies AppPageConfig<"/home">
}

// Validate ../../src/app/my-favorite/page.tsx
{
  const handler = {} as typeof import("../../src/app/my-favorite/page.js")
  handler satisfies AppPageConfig<"/my-favorite">
}

// Validate ../../src/app/my-promocodes/page.tsx
{
  const handler = {} as typeof import("../../src/app/my-promocodes/page.js")
  handler satisfies AppPageConfig<"/my-promocodes">
}

// Validate ../../src/app/new-password/page.tsx
{
  const handler = {} as typeof import("../../src/app/new-password/page.js")
  handler satisfies AppPageConfig<"/new-password">
}

// Validate ../../src/app/offers/page.tsx
{
  const handler = {} as typeof import("../../src/app/offers/page.js")
  handler satisfies AppPageConfig<"/offers">
}

// Validate ../../src/app/onboarding/page.tsx
{
  const handler = {} as typeof import("../../src/app/onboarding/page.js")
  handler satisfies AppPageConfig<"/onboarding">
}

// Validate ../../src/app/order-failed/page.tsx
{
  const handler = {} as typeof import("../../src/app/order-failed/page.js")
  handler satisfies AppPageConfig<"/order-failed">
}

// Validate ../../src/app/order-history/page.tsx
{
  const handler = {} as typeof import("../../src/app/order-history/page.js")
  handler satisfies AppPageConfig<"/order-history">
}

// Validate ../../src/app/order-success/page.tsx
{
  const handler = {} as typeof import("../../src/app/order-success/page.js")
  handler satisfies AppPageConfig<"/order-success">
}

// Validate ../../src/app/order/page.tsx
{
  const handler = {} as typeof import("../../src/app/order/page.js")
  handler satisfies AppPageConfig<"/order">
}

// Validate ../../src/app/page.tsx
{
  const handler = {} as typeof import("../../src/app/page.js")
  handler satisfies AppPageConfig<"/">
}

// Validate ../../src/app/profile/page.tsx
{
  const handler = {} as typeof import("../../src/app/profile/page.js")
  handler satisfies AppPageConfig<"/profile">
}

// Validate ../../src/app/search/page.tsx
{
  const handler = {} as typeof import("../../src/app/search/page.js")
  handler satisfies AppPageConfig<"/search">
}

// Validate ../../src/app/shop-category/[category]/page.tsx
{
  const handler = {} as typeof import("../../src/app/shop-category/[category]/page.js")
  handler satisfies AppPageConfig<"/shop-category/[category]">
}

// Validate ../../src/app/shop/[category]/page.tsx
{
  const handler = {} as typeof import("../../src/app/shop/[category]/page.js")
  handler satisfies AppPageConfig<"/shop/[category]">
}

// Validate ../../src/app/sign-in/page.tsx
{
  const handler = {} as typeof import("../../src/app/sign-in/page.js")
  handler satisfies AppPageConfig<"/sign-in">
}

// Validate ../../src/app/sign-up/page.tsx
{
  const handler = {} as typeof import("../../src/app/sign-up/page.js")
  handler satisfies AppPageConfig<"/sign-up">
}

// Validate ../../src/app/verify-your-phone-number/page.tsx
{
  const handler = {} as typeof import("../../src/app/verify-your-phone-number/page.js")
  handler satisfies AppPageConfig<"/verify-your-phone-number">
}







// Validate ../../src/app/layout.tsx
{
  const handler = {} as typeof import("../../src/app/layout.js")
  handler satisfies LayoutConfig<"/">
}
