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

type AppRoutes = "/" | "/[country]" | "/[country]/pricing" | "/about" | "/admin" | "/admin/affiliates" | "/admin/affiliates/payouts" | "/admin/api-keys" | "/admin/audit-logs" | "/admin/billing" | "/admin/components" | "/admin/feature-flags" | "/admin/guest-posts" | "/admin/guest-posts/tiers" | "/admin/invoices" | "/admin/marketing" | "/admin/marketing/email" | "/admin/marketing/newsletter" | "/admin/marketing/whatsapp" | "/admin/media" | "/admin/pages" | "/admin/pages/[id]/edit" | "/admin/pages/[id]/preview" | "/admin/pages/new" | "/admin/portfolio" | "/admin/portfolio/edit/[id]" | "/admin/portfolio/new" | "/admin/posts" | "/admin/posts/edit/[id]" | "/admin/posts/new" | "/admin/projects" | "/admin/roles" | "/admin/seo-tools" | "/admin/settings" | "/admin/settings/payments" | "/admin/sheets" | "/admin/sites" | "/admin/support" | "/admin/support/[id]" | "/admin/support/new" | "/admin/tasks" | "/admin/users" | "/admin/users/new" | "/admin/webhooks" | "/advertising" | "/affiliate" | "/affiliate-apply" | "/affiliate/analytics" | "/affiliate/campaigns" | "/affiliate/dashboard" | "/affiliate/dashboard/affiliates" | "/affiliate/dashboard/campaigns" | "/affiliate/dashboard/performance" | "/affiliate/dashboard/profile" | "/affiliate/dashboard/withdrawals" | "/affiliate/payouts" | "/affiliate/referrals" | "/ai-automations" | "/ai-research" | "/analytics/global" | "/app-development" | "/axioen" | "/blog" | "/blog/[id]" | "/brand-studio" | "/branding" | "/business-growth" | "/careers" | "/careers/[slug]" | "/careers/open-application" | "/client" | "/client/account" | "/client/activity" | "/client/affiliates" | "/client/billing" | "/client/guest-posts" | "/client/guest-posts/new" | "/client/invoices" | "/client/media" | "/client/notifications" | "/client/orders" | "/client/profile" | "/client/projects" | "/client/reports" | "/client/resources" | "/client/support" | "/client/tickets" | "/contact" | "/creative-motion" | "/dev-platform" | "/digital-marketing" | "/digital-marketing/[id]" | "/employee" | "/employee/communication" | "/employee/leave" | "/employee/logs" | "/employee/performance" | "/employee/projects" | "/employee/settings" | "/employee/tasks" | "/employee/team" | "/employee/time-logs" | "/faq" | "/faq/[category]" | "/forgot-password" | "/graphic-design" | "/guest-post" | "/guest-post-guidelines" | "/legal/accessibility" | "/legal/cookies" | "/legal/gdpr" | "/legal/privacy" | "/legal/refund-policy" | "/legal/terms" | "/legal/trust-safety" | "/login" | "/marketing" | "/marketing/[id]" | "/marketing/content-marketing" | "/marketing/email-marketing" | "/marketing/ppc" | "/marketing/seo" | "/marketing/social-media" | "/marketplace" | "/nextjs-development" | "/org/[country]" | "/partners" | "/partners/[slug]" | "/portfolio" | "/portfolio/[slug]" | "/pricing" | "/project-planner" | "/publisher/dashboard" | "/publisher/earnings" | "/publisher/orders" | "/publisher/posts" | "/publisher/websites" | "/register" | "/report/[id]" | "/reset-password" | "/services" | "/services/[category]" | "/services/[category]/[id]" | "/services/advertising" | "/services/ai-automations" | "/services/ai-automations/ai-chatbot-development" | "/services/app-development" | "/services/branding" | "/services/business-growth" | "/services/creative-motion" | "/services/digital-marketing" | "/services/graphic-design" | "/services/marketing" | "/services/web-development" | "/super-admin" | "/super-admin/billing" | "/super-admin/settings" | "/super-admin/tenants" | "/tenant/[tenantId]/dashboard" | "/tenant/[tenantId]/dashboard/affiliates" | "/tenant/[tenantId]/dashboard/analytics" | "/tenant/[tenantId]/dashboard/campaigns" | "/tenant/[tenantId]/dashboard/finance" | "/tenant/[tenantId]/dashboard/settings" | "/tenant/[tenantId]/dashboard/team" | "/tools" | "/tools/brand-authority" | "/tools/domain-authority" | "/tools/keyword-research" | "/tools/local-citation" | "/tools/seo-analyzer" | "/tools/seo-audit" | "/tools/seo-crawler" | "/tools/seo-grader" | "/tools/serp-simulator" | "/user/analytics" | "/user/backlinks" | "/user/campaigns" | "/user/dashboard" | "/user/orders" | "/web-development" | "/why-we-build"
type AppRouteHandlerRoutes = "/api/admin/api-keys" | "/api/admin/audit-logs" | "/api/admin/feature-flags" | "/api/admin/guest-post-tiers" | "/api/admin/guest-posts" | "/api/admin/migrate-blogs" | "/api/admin/pages" | "/api/admin/pages/[id]" | "/api/admin/payment-gateways" | "/api/admin/payouts" | "/api/admin/payouts/[id]/pay" | "/api/admin/roles" | "/api/admin/roles/[id]" | "/api/admin/seo-tools" | "/api/admin/settings" | "/api/admin/sheets-preview" | "/api/admin/support" | "/api/admin/support/[id]" | "/api/admin/support/[id]/reply" | "/api/admin/sync-sheets" | "/api/admin/transactions" | "/api/admin/users" | "/api/admin/webhooks" | "/api/affiliate-apply" | "/api/affiliate/earnings" | "/api/affiliate/generate" | "/api/affiliate/guest-posts" | "/api/affiliate/me" | "/api/affiliate/payouts" | "/api/affiliate/profile" | "/api/affiliate/referrals" | "/api/affiliate/stats" | "/api/analyze-seo" | "/api/auth/[...nextauth]" | "/api/auth/forgot-password" | "/api/auth/login" | "/api/auth/logout" | "/api/auth/me" | "/api/auth/register" | "/api/auth/reset-password" | "/api/auth/send-verification" | "/api/auth/verify-email" | "/api/billing/gateways" | "/api/billing/history" | "/api/brand-studio" | "/api/brand-studio/save" | "/api/campaigns" | "/api/categories" | "/api/checkout/guest-post" | "/api/employee/leave" | "/api/employee/messages" | "/api/employee/messages/[id]" | "/api/employee/password" | "/api/employee/profile" | "/api/employee/time-logs" | "/api/guest-post" | "/api/health" | "/api/keywords" | "/api/log-error" | "/api/media" | "/api/media/[id]" | "/api/portfolio" | "/api/portfolio/[id]" | "/api/posts" | "/api/posts/[id]" | "/api/ready" | "/api/secure/admin/sites" | "/api/secure/payments/create" | "/api/secure/payments/webhook/[gateway]" | "/api/seo/crawl" | "/api/seo/reports" | "/api/support" | "/api/tags" | "/api/tenants/[tenantId]/settings" | "/api/tools" | "/api/user/account" | "/api/user/activity" | "/api/user/affiliates" | "/api/user/billing" | "/api/user/invoices" | "/api/user/notifications" | "/api/user/orders" | "/api/user/overview" | "/api/user/profile" | "/api/user/projects" | "/api/user/projects/[id]" | "/api/user/projects/[id]/tasks" | "/api/user/projects/[id]/tasks/[taskId]" | "/api/user/reports" | "/api/user/resources" | "/api/user/sessions" | "/api/user/subscription" | "/api/user/tickets" | "/api/user/tickets/[id]" | "/api/users" | "/api/webhooks/[gateway]" | "/go/[code]"
type PageRoutes = never
type LayoutRoutes = "/" | "/admin" | "/affiliate/dashboard" | "/client" | "/employee" | "/org/[country]" | "/super-admin" | "/tenant/[tenantId]/dashboard" | "/tools"
type RedirectRoutes = never
type RewriteRoutes = "/api/backend/[[...path]]"
type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes | AppRouteHandlerRoutes


interface ParamMap {
  "/": {}
  "/[country]": { "country": string; }
  "/[country]/pricing": { "country": string; }
  "/about": {}
  "/admin": {}
  "/admin/affiliates": {}
  "/admin/affiliates/payouts": {}
  "/admin/api-keys": {}
  "/admin/audit-logs": {}
  "/admin/billing": {}
  "/admin/components": {}
  "/admin/feature-flags": {}
  "/admin/guest-posts": {}
  "/admin/guest-posts/tiers": {}
  "/admin/invoices": {}
  "/admin/marketing": {}
  "/admin/marketing/email": {}
  "/admin/marketing/newsletter": {}
  "/admin/marketing/whatsapp": {}
  "/admin/media": {}
  "/admin/pages": {}
  "/admin/pages/[id]/edit": { "id": string; }
  "/admin/pages/[id]/preview": { "id": string; }
  "/admin/pages/new": {}
  "/admin/portfolio": {}
  "/admin/portfolio/edit/[id]": { "id": string; }
  "/admin/portfolio/new": {}
  "/admin/posts": {}
  "/admin/posts/edit/[id]": { "id": string; }
  "/admin/posts/new": {}
  "/admin/projects": {}
  "/admin/roles": {}
  "/admin/seo-tools": {}
  "/admin/settings": {}
  "/admin/settings/payments": {}
  "/admin/sheets": {}
  "/admin/sites": {}
  "/admin/support": {}
  "/admin/support/[id]": { "id": string; }
  "/admin/support/new": {}
  "/admin/tasks": {}
  "/admin/users": {}
  "/admin/users/new": {}
  "/admin/webhooks": {}
  "/advertising": {}
  "/affiliate": {}
  "/affiliate-apply": {}
  "/affiliate/analytics": {}
  "/affiliate/campaigns": {}
  "/affiliate/dashboard": {}
  "/affiliate/dashboard/affiliates": {}
  "/affiliate/dashboard/campaigns": {}
  "/affiliate/dashboard/performance": {}
  "/affiliate/dashboard/profile": {}
  "/affiliate/dashboard/withdrawals": {}
  "/affiliate/payouts": {}
  "/affiliate/referrals": {}
  "/ai-automations": {}
  "/ai-research": {}
  "/analytics/global": {}
  "/api/admin/api-keys": {}
  "/api/admin/audit-logs": {}
  "/api/admin/feature-flags": {}
  "/api/admin/guest-post-tiers": {}
  "/api/admin/guest-posts": {}
  "/api/admin/migrate-blogs": {}
  "/api/admin/pages": {}
  "/api/admin/pages/[id]": { "id": string; }
  "/api/admin/payment-gateways": {}
  "/api/admin/payouts": {}
  "/api/admin/payouts/[id]/pay": { "id": string; }
  "/api/admin/roles": {}
  "/api/admin/roles/[id]": { "id": string; }
  "/api/admin/seo-tools": {}
  "/api/admin/settings": {}
  "/api/admin/sheets-preview": {}
  "/api/admin/support": {}
  "/api/admin/support/[id]": { "id": string; }
  "/api/admin/support/[id]/reply": { "id": string; }
  "/api/admin/sync-sheets": {}
  "/api/admin/transactions": {}
  "/api/admin/users": {}
  "/api/admin/webhooks": {}
  "/api/affiliate-apply": {}
  "/api/affiliate/earnings": {}
  "/api/affiliate/generate": {}
  "/api/affiliate/guest-posts": {}
  "/api/affiliate/me": {}
  "/api/affiliate/payouts": {}
  "/api/affiliate/profile": {}
  "/api/affiliate/referrals": {}
  "/api/affiliate/stats": {}
  "/api/analyze-seo": {}
  "/api/auth/[...nextauth]": { "nextauth": string[]; }
  "/api/auth/forgot-password": {}
  "/api/auth/login": {}
  "/api/auth/logout": {}
  "/api/auth/me": {}
  "/api/auth/register": {}
  "/api/auth/reset-password": {}
  "/api/auth/send-verification": {}
  "/api/auth/verify-email": {}
  "/api/backend/[[...path]]": { "path"?: string[]; }
  "/api/billing/gateways": {}
  "/api/billing/history": {}
  "/api/brand-studio": {}
  "/api/brand-studio/save": {}
  "/api/campaigns": {}
  "/api/categories": {}
  "/api/checkout/guest-post": {}
  "/api/employee/leave": {}
  "/api/employee/messages": {}
  "/api/employee/messages/[id]": { "id": string; }
  "/api/employee/password": {}
  "/api/employee/profile": {}
  "/api/employee/time-logs": {}
  "/api/guest-post": {}
  "/api/health": {}
  "/api/keywords": {}
  "/api/log-error": {}
  "/api/media": {}
  "/api/media/[id]": { "id": string; }
  "/api/portfolio": {}
  "/api/portfolio/[id]": { "id": string; }
  "/api/posts": {}
  "/api/posts/[id]": { "id": string; }
  "/api/ready": {}
  "/api/secure/admin/sites": {}
  "/api/secure/payments/create": {}
  "/api/secure/payments/webhook/[gateway]": { "gateway": string; }
  "/api/seo/crawl": {}
  "/api/seo/reports": {}
  "/api/support": {}
  "/api/tags": {}
  "/api/tenants/[tenantId]/settings": { "tenantId": string; }
  "/api/tools": {}
  "/api/user/account": {}
  "/api/user/activity": {}
  "/api/user/affiliates": {}
  "/api/user/billing": {}
  "/api/user/invoices": {}
  "/api/user/notifications": {}
  "/api/user/orders": {}
  "/api/user/overview": {}
  "/api/user/profile": {}
  "/api/user/projects": {}
  "/api/user/projects/[id]": { "id": string; }
  "/api/user/projects/[id]/tasks": { "id": string; }
  "/api/user/projects/[id]/tasks/[taskId]": { "id": string; "taskId": string; }
  "/api/user/reports": {}
  "/api/user/resources": {}
  "/api/user/sessions": {}
  "/api/user/subscription": {}
  "/api/user/tickets": {}
  "/api/user/tickets/[id]": { "id": string; }
  "/api/users": {}
  "/api/webhooks/[gateway]": { "gateway": string; }
  "/app-development": {}
  "/axioen": {}
  "/blog": {}
  "/blog/[id]": { "id": string; }
  "/brand-studio": {}
  "/branding": {}
  "/business-growth": {}
  "/careers": {}
  "/careers/[slug]": { "slug": string; }
  "/careers/open-application": {}
  "/client": {}
  "/client/account": {}
  "/client/activity": {}
  "/client/affiliates": {}
  "/client/billing": {}
  "/client/guest-posts": {}
  "/client/guest-posts/new": {}
  "/client/invoices": {}
  "/client/media": {}
  "/client/notifications": {}
  "/client/orders": {}
  "/client/profile": {}
  "/client/projects": {}
  "/client/reports": {}
  "/client/resources": {}
  "/client/support": {}
  "/client/tickets": {}
  "/contact": {}
  "/creative-motion": {}
  "/dev-platform": {}
  "/digital-marketing": {}
  "/digital-marketing/[id]": { "id": string; }
  "/employee": {}
  "/employee/communication": {}
  "/employee/leave": {}
  "/employee/logs": {}
  "/employee/performance": {}
  "/employee/projects": {}
  "/employee/settings": {}
  "/employee/tasks": {}
  "/employee/team": {}
  "/employee/time-logs": {}
  "/faq": {}
  "/faq/[category]": { "category": string; }
  "/forgot-password": {}
  "/go/[code]": { "code": string; }
  "/graphic-design": {}
  "/guest-post": {}
  "/guest-post-guidelines": {}
  "/legal/accessibility": {}
  "/legal/cookies": {}
  "/legal/gdpr": {}
  "/legal/privacy": {}
  "/legal/refund-policy": {}
  "/legal/terms": {}
  "/legal/trust-safety": {}
  "/login": {}
  "/marketing": {}
  "/marketing/[id]": { "id": string; }
  "/marketing/content-marketing": {}
  "/marketing/email-marketing": {}
  "/marketing/ppc": {}
  "/marketing/seo": {}
  "/marketing/social-media": {}
  "/marketplace": {}
  "/nextjs-development": {}
  "/org/[country]": { "country": string; }
  "/partners": {}
  "/partners/[slug]": { "slug": string; }
  "/portfolio": {}
  "/portfolio/[slug]": { "slug": string; }
  "/pricing": {}
  "/project-planner": {}
  "/publisher/dashboard": {}
  "/publisher/earnings": {}
  "/publisher/orders": {}
  "/publisher/posts": {}
  "/publisher/websites": {}
  "/register": {}
  "/report/[id]": { "id": string; }
  "/reset-password": {}
  "/services": {}
  "/services/[category]": { "category": string; }
  "/services/[category]/[id]": { "category": string; "id": string; }
  "/services/advertising": {}
  "/services/ai-automations": {}
  "/services/ai-automations/ai-chatbot-development": {}
  "/services/app-development": {}
  "/services/branding": {}
  "/services/business-growth": {}
  "/services/creative-motion": {}
  "/services/digital-marketing": {}
  "/services/graphic-design": {}
  "/services/marketing": {}
  "/services/web-development": {}
  "/super-admin": {}
  "/super-admin/billing": {}
  "/super-admin/settings": {}
  "/super-admin/tenants": {}
  "/tenant/[tenantId]/dashboard": { "tenantId": string; }
  "/tenant/[tenantId]/dashboard/affiliates": { "tenantId": string; }
  "/tenant/[tenantId]/dashboard/analytics": { "tenantId": string; }
  "/tenant/[tenantId]/dashboard/campaigns": { "tenantId": string; }
  "/tenant/[tenantId]/dashboard/finance": { "tenantId": string; }
  "/tenant/[tenantId]/dashboard/settings": { "tenantId": string; }
  "/tenant/[tenantId]/dashboard/team": { "tenantId": string; }
  "/tools": {}
  "/tools/brand-authority": {}
  "/tools/domain-authority": {}
  "/tools/keyword-research": {}
  "/tools/local-citation": {}
  "/tools/seo-analyzer": {}
  "/tools/seo-audit": {}
  "/tools/seo-crawler": {}
  "/tools/seo-grader": {}
  "/tools/serp-simulator": {}
  "/user/analytics": {}
  "/user/backlinks": {}
  "/user/campaigns": {}
  "/user/dashboard": {}
  "/user/orders": {}
  "/web-development": {}
  "/why-we-build": {}
}


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

interface LayoutSlotMap {
  "/": never
  "/admin": never
  "/affiliate/dashboard": never
  "/client": never
  "/employee": never
  "/org/[country]": never
  "/super-admin": never
  "/tenant/[tenantId]/dashboard": never
  "/tools": 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]>
  }
}
