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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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





// Validate ../../app/admin/(dashboard)/layout.tsx
{
  type __IsExpected<Specific extends LayoutConfig<"/admin">> = Specific
  const handler = {} as typeof import("../../app/admin/(dashboard)/layout.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
}
