// This file is generated automatically by Next.js
// Do not edit this file manually

type AppRoutes = "/" | "/blog" | "/blog/[slug]" | "/dashboard" | "/dashboard/billing" | "/dashboard/blog-bot" | "/dashboard/bots" | "/dashboard/bots/[botId]" | "/dashboard/bots/[botId]/knowledge" | "/dashboard/bots/[botId]/questionnaire" | "/dashboard/bots/[botId]/widget" | "/dashboard/conversations" | "/dashboard/knowledge" | "/dashboard/settings" | "/docs" | "/integration" | "/login" | "/pricing" | "/register" | "/thisistheaeyesecretlogin" | "/thisistheaeyesecretlogin/billing" | "/thisistheaeyesecretlogin/blog" | "/thisistheaeyesecretlogin/bots" | "/thisistheaeyesecretlogin/conversations" | "/thisistheaeyesecretlogin/leads" | "/thisistheaeyesecretlogin/settings" | "/thisistheaeyesecretlogin/users"
type AppRouteHandlerRoutes = "/api/admin/billing" | "/api/admin/blog" | "/api/admin/blog/[postId]" | "/api/admin/blog/upload" | "/api/admin/bots" | "/api/admin/conversations" | "/api/admin/leads" | "/api/admin/logs" | "/api/admin/settings" | "/api/admin/stats" | "/api/admin/users" | "/api/admin/users/[userId]" | "/api/auth/[...nextauth]" | "/api/auth/register" | "/api/billing/checkout" | "/api/billing/portal" | "/api/blog" | "/api/blog-bot/config" | "/api/blog-bot/export" | "/api/blog-bot/generate" | "/api/blog-bot/posts" | "/api/blog-bot/posts/[postId]" | "/api/blog/[slug]" | "/api/bots" | "/api/bots/[botId]" | "/api/bots/[botId]/config" | "/api/chat" | "/api/chat/widget" | "/api/conversations/[botId]" | "/api/cron/blog-generate" | "/api/cron/deactivate" | "/api/dashboard/stats" | "/api/knowledge/[botId]" | "/api/knowledge/ingest" | "/api/leads/[botId]" | "/api/public/blog-feed/[apiKey]" | "/api/settings" | "/api/subscription" | "/api/webhooks/stripe" | "/api/webhooks/wati"
type PageRoutes = never
type LayoutRoutes = "/" | "/dashboard" | "/integration" | "/thisistheaeyesecretlogin"
type RedirectRoutes = "/home"
type RewriteRoutes = never
type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes | AppRouteHandlerRoutes


interface ParamMap {
  "/": {}
  "/api/admin/billing": {}
  "/api/admin/blog": {}
  "/api/admin/blog/[postId]": { "postId": string; }
  "/api/admin/blog/upload": {}
  "/api/admin/bots": {}
  "/api/admin/conversations": {}
  "/api/admin/leads": {}
  "/api/admin/logs": {}
  "/api/admin/settings": {}
  "/api/admin/stats": {}
  "/api/admin/users": {}
  "/api/admin/users/[userId]": { "userId": string; }
  "/api/auth/[...nextauth]": { "nextauth": string[]; }
  "/api/auth/register": {}
  "/api/billing/checkout": {}
  "/api/billing/portal": {}
  "/api/blog": {}
  "/api/blog-bot/config": {}
  "/api/blog-bot/export": {}
  "/api/blog-bot/generate": {}
  "/api/blog-bot/posts": {}
  "/api/blog-bot/posts/[postId]": { "postId": string; }
  "/api/blog/[slug]": { "slug": string; }
  "/api/bots": {}
  "/api/bots/[botId]": { "botId": string; }
  "/api/bots/[botId]/config": { "botId": string; }
  "/api/chat": {}
  "/api/chat/widget": {}
  "/api/conversations/[botId]": { "botId": string; }
  "/api/cron/blog-generate": {}
  "/api/cron/deactivate": {}
  "/api/dashboard/stats": {}
  "/api/knowledge/[botId]": { "botId": string; }
  "/api/knowledge/ingest": {}
  "/api/leads/[botId]": { "botId": string; }
  "/api/public/blog-feed/[apiKey]": { "apiKey": string; }
  "/api/settings": {}
  "/api/subscription": {}
  "/api/webhooks/stripe": {}
  "/api/webhooks/wati": {}
  "/blog": {}
  "/blog/[slug]": { "slug": string; }
  "/dashboard": {}
  "/dashboard/billing": {}
  "/dashboard/blog-bot": {}
  "/dashboard/bots": {}
  "/dashboard/bots/[botId]": { "botId": string; }
  "/dashboard/bots/[botId]/knowledge": { "botId": string; }
  "/dashboard/bots/[botId]/questionnaire": { "botId": string; }
  "/dashboard/bots/[botId]/widget": { "botId": string; }
  "/dashboard/conversations": {}
  "/dashboard/knowledge": {}
  "/dashboard/settings": {}
  "/docs": {}
  "/home": {}
  "/integration": {}
  "/login": {}
  "/pricing": {}
  "/register": {}
  "/thisistheaeyesecretlogin": {}
  "/thisistheaeyesecretlogin/billing": {}
  "/thisistheaeyesecretlogin/blog": {}
  "/thisistheaeyesecretlogin/bots": {}
  "/thisistheaeyesecretlogin/conversations": {}
  "/thisistheaeyesecretlogin/leads": {}
  "/thisistheaeyesecretlogin/settings": {}
  "/thisistheaeyesecretlogin/users": {}
}


export type ParamsOf<Route extends Routes> = ParamMap[Route]

interface LayoutSlotMap {
  "/": never
  "/dashboard": never
  "/integration": never
  "/thisistheaeyesecretlogin": never
}


export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap, AppRouteHandlerRoutes }

declare global {
  /**
   * Props for Next.js App Router page components
   * @example
   * ```tsx
   * export default function Page(props: PageProps<'/blog/[slug]'>) {
   *   const { slug } = await props.params
   *   return <div>Blog post: {slug}</div>
   * }
   * ```
   */
  interface PageProps<AppRoute extends AppRoutes> {
    params: Promise<ParamMap[AppRoute]>
    searchParams: Promise<Record<string, string | string[] | undefined>>
  }

  /**
   * Props for Next.js App Router layout components
   * @example
   * ```tsx
   * export default function Layout(props: LayoutProps<'/dashboard'>) {
   *   return <div>{props.children}</div>
   * }
   * ```
   */
  type LayoutProps<LayoutRoute extends LayoutRoutes> = {
    params: Promise<ParamMap[LayoutRoute]>
    children: React.ReactNode
  } & {
    [K in LayoutSlotMap[LayoutRoute]]: React.ReactNode
  }

  /**
   * Context for Next.js App Router route handlers
   * @example
   * ```tsx
   * export async function GET(request: NextRequest, context: RouteContext<'/api/users/[id]'>) {
   *   const { id } = await context.params
   *   return Response.json({ id })
   * }
   * ```
   */
  interface RouteContext<AppRouteHandlerRoute extends AppRouteHandlerRoutes> {
    params: Promise<ParamMap[AppRouteHandlerRoute]>
  }
}
