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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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







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

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

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

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