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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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





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

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

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