// 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, AppRouteHandlerRoutes } from "./routes.js"
import type { ResolvingMetadata, ResolvingViewport } from "next/types.js"
import type { NextRequest } from 'next/server.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
}

type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRoutes> = {
  GET?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
  POST?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
  PUT?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
  PATCH?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
  DELETE?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
  HEAD?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
  OPTIONS?: (request: NextRequest, context: { params: Promise<ParamMap[Route]> }) => Promise<Response | void> | Response | void
}


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// Validate ../../app/api/admin/ai/test/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/admin/ai/test">> = Specific
  const handler = {} as typeof import("../../app/api/admin/ai/test/route.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/api/ai/chat/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/ai/chat">> = Specific
  const handler = {} as typeof import("../../app/api/ai/chat/route.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/api/ai/insight/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/ai/insight">> = Specific
  const handler = {} as typeof import("../../app/api/ai/insight/route.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/api/ai/section/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/ai/section">> = Specific
  const handler = {} as typeof import("../../app/api/ai/section/route.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/api/auth/[...all]/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/auth/[...all]">> = Specific
  const handler = {} as typeof import("../../app/api/auth/[...all]/route.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/api/billing/pdf/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/billing/pdf">> = Specific
  const handler = {} as typeof import("../../app/api/billing/pdf/route.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/api/charts/[chartId]/qa/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/charts/[chartId]/qa">> = Specific
  const handler = {} as typeof import("../../app/api/charts/[chartId]/qa/route.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

// Validate ../../app/api/cron/reminders/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/cron/reminders">> = Specific
  const handler = {} as typeof import("../../app/api/cron/reminders/route.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

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

// Validate ../../app/api/palmistry/vision/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/palmistry/vision">> = Specific
  const handler = {} as typeof import("../../app/api/palmistry/vision/route.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}





// Validate ../../app/admin/layout.tsx
{
  type __IsExpected<Specific extends LayoutConfig<"/admin">> = 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
}
