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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// Validate ../../app/leader/militants/upload-ine/page.tsx
{
  type __IsExpected<Specific extends AppPageConfig<"/leader/militants/upload-ine">> = Specific
  const handler = {} as typeof import("../../app/leader/militants/upload-ine/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/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/api/admin/campaign/history/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/admin/campaign/history">> = Specific
  const handler = {} as typeof import("../../app/api/admin/campaign/history/route.js")
  type __Check = __IsExpected<typeof handler>
  // @ts-ignore
  type __Unused = __Check
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// Validate ../../app/api/users/toggle-status/route.ts
{
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/users/toggle-status">> = Specific
  const handler = {} as typeof import("../../app/api/users/toggle-status/route.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
}
