// 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/types.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 ../../app/(admin)/(data-referensi)/kategori-meja/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/kategori-meja">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(data-referensi)/kategori-meja/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(data-referensi)/kategori-menu/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/kategori-menu">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(data-referensi)/kategori-menu/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(data-referensi)/metode-pembayaran/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/metode-pembayaran">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(data-referensi)/metode-pembayaran/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(data-referensi)/printer/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/printer">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(data-referensi)/printer/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(data-referensi)/satuan-menu/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/satuan-menu">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(data-referensi)/satuan-menu/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(data-referensi)/stand/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/stand">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(data-referensi)/stand/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(main-menu)/daftar-pesanan/[id]/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/daftar-pesanan/[id]">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(main-menu)/daftar-pesanan/[id]/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(main-menu)/daftar-pesanan/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/daftar-pesanan">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(main-menu)/daftar-pesanan/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(main-menu)/dashboard/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/dashboard">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(main-menu)/dashboard/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(main-menu)/menu-makanan/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/menu-makanan">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(main-menu)/menu-makanan/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(main-menu)/semua-meja/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/semua-meja">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(main-menu)/semua-meja/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(pengaturan)/cabang/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/cabang">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(pengaturan)/cabang/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(pengaturan)/management-user/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/management-user">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(pengaturan)/management-user/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(pengaturan)/perangkat/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/perangkat">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(pengaturan)/perangkat/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/(pengaturan)/pin/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/pin">> = Specific
  const handler = {} as typeof import("../../app/(admin)/(pengaturan)/pin/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/laporan/jenis-order/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/laporan/jenis-order">> = Specific
  const handler = {} as typeof import("../../app/(admin)/laporan/jenis-order/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/laporan/metode-pembayaran/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/laporan/metode-pembayaran">> = Specific
  const handler = {} as typeof import("../../app/(admin)/laporan/metode-pembayaran/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/laporan/pendapatan-stand/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/laporan/pendapatan-stand">> = Specific
  const handler = {} as typeof import("../../app/(admin)/laporan/pendapatan-stand/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/laporan/penjualan-per-kategori/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/laporan/penjualan-per-kategori">> = Specific
  const handler = {} as typeof import("../../app/(admin)/laporan/penjualan-per-kategori/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/(admin)/laporan/produk-terlaris/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/laporan/produk-terlaris">> = Specific
  const handler = {} as typeof import("../../app/(admin)/laporan/produk-terlaris/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/login/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/login">> = Specific
  const handler = {} as typeof import("../../app/login/page.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}







// Validate ../../app/(admin)/layout.tsx
{
  type __IsExpected<Specific extends LayoutConfig<"/">> = Specific
  const handler = {} as typeof import("../../app/(admin)/layout.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/layout.tsx
{
  type __IsExpected<Specific extends LayoutConfig<"/">> = Specific
  const handler = {} as typeof import("../../app/layout.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}
