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

type AppRoutes = "/" | "/[slug]" | "/admin" | "/admin/appointments" | "/admin/auth/sign-in" | "/admin/calendar" | "/admin/charts/basic-chart" | "/admin/collections/categories" | "/admin/collections/subcategories" | "/admin/colors" | "/admin/contact" | "/admin/content/banners" | "/admin/content/cms" | "/admin/content/settings" | "/admin/content/settings/profile" | "/admin/content/static-video" | "/admin/customers" | "/admin/email-templates" | "/admin/forms/form-elements" | "/admin/forms/form-layout" | "/admin/inquiries" | "/admin/leads" | "/admin/login" | "/admin/manage-blogs" | "/admin/manage-sliders" | "/admin/newsletter" | "/admin/orders" | "/admin/products" | "/admin/profile" | "/admin/reviews" | "/admin/sizes" | "/admin/stores" | "/admin/tables" | "/admin/ui-elements/alerts" | "/admin/ui-elements/buttons" | "/appointments" | "/blog" | "/blog/[slug]" | "/cart" | "/contact-us" | "/dashboard" | "/dashboard/addresses" | "/dashboard/change-password" | "/dashboard/profile" | "/dashboard/wishlist" | "/home" | "/login" | "/order-confirmation" | "/orderdetails" | "/productdetails/[slug]" | "/products" | "/register" | "/store" | "/stores" | "/thankingyou" | "/wishlist"
type AppRouteHandlerRoutes = "/api/appointments" | "/api/appointments/[id]" | "/api/auth/login" | "/api/banners" | "/api/banners/[id]" | "/api/blogs" | "/api/blogs/[id]" | "/api/categories" | "/api/categories/[id]" | "/api/cms" | "/api/cms/[id]" | "/api/colors" | "/api/colors/[id]" | "/api/contact" | "/api/customer" | "/api/customer/[id]" | "/api/customers" | "/api/customers/[id]" | "/api/dashboard" | "/api/email-templates" | "/api/email-templates/[id]" | "/api/general-settings" | "/api/inquiries" | "/api/leads" | "/api/newsletter" | "/api/newsletter/[id]" | "/api/orders" | "/api/orders/[id]" | "/api/product-color-images" | "/api/product-color-images/[id]" | "/api/product-colors" | "/api/product-colors/[id]" | "/api/product-images" | "/api/product-images/[id]" | "/api/product-skus" | "/api/product-skus/[id]" | "/api/products" | "/api/products/[id]" | "/api/profile" | "/api/profile/[id]" | "/api/profile/change-password" | "/api/reviews" | "/api/reviews/[id]" | "/api/sizes" | "/api/sizes/[id]" | "/api/sliders" | "/api/sliders/[id]" | "/api/states" | "/api/static-videos" | "/api/static-videos/[id]" | "/api/stores" | "/api/stores/[id]" | "/api/upload" | "/api/users" | "/api/wishlist" | "/clientapi/addreview" | "/clientapi/appointment" | "/clientapi/blog" | "/clientapi/blog/[slug]" | "/clientapi/cart" | "/clientapi/cms" | "/clientapi/contact-us" | "/clientapi/generalsettings" | "/clientapi/home" | "/clientapi/leadsebmit" | "/clientapi/login" | "/clientapi/meghamenue" | "/clientapi/newsletter" | "/clientapi/order" | "/clientapi/products" | "/clientapi/products/[slug]" | "/clientapi/products/filters" | "/clientapi/register" | "/clientapi/store" | "/clientapi/storedetails" | "/clientapi/users/address" | "/clientapi/users/details" | "/clientapi/users/orders" | "/clientapi/wishlist"
type PageRoutes = never
type LayoutRoutes = "/" | "/admin" | "/admin/login" | "/admin/profile" | "/dashboard"
type RedirectRoutes = never
type RewriteRoutes = never
type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes | AppRouteHandlerRoutes


interface ParamMap {
  "/": {}
  "/[slug]": { "slug": string; }
  "/admin": {}
  "/admin/appointments": {}
  "/admin/auth/sign-in": {}
  "/admin/calendar": {}
  "/admin/charts/basic-chart": {}
  "/admin/collections/categories": {}
  "/admin/collections/subcategories": {}
  "/admin/colors": {}
  "/admin/contact": {}
  "/admin/content/banners": {}
  "/admin/content/cms": {}
  "/admin/content/settings": {}
  "/admin/content/settings/profile": {}
  "/admin/content/static-video": {}
  "/admin/customers": {}
  "/admin/email-templates": {}
  "/admin/forms/form-elements": {}
  "/admin/forms/form-layout": {}
  "/admin/inquiries": {}
  "/admin/leads": {}
  "/admin/login": {}
  "/admin/manage-blogs": {}
  "/admin/manage-sliders": {}
  "/admin/newsletter": {}
  "/admin/orders": {}
  "/admin/products": {}
  "/admin/profile": {}
  "/admin/reviews": {}
  "/admin/sizes": {}
  "/admin/stores": {}
  "/admin/tables": {}
  "/admin/ui-elements/alerts": {}
  "/admin/ui-elements/buttons": {}
  "/api/appointments": {}
  "/api/appointments/[id]": { "id": string; }
  "/api/auth/login": {}
  "/api/banners": {}
  "/api/banners/[id]": { "id": string; }
  "/api/blogs": {}
  "/api/blogs/[id]": { "id": string; }
  "/api/categories": {}
  "/api/categories/[id]": { "id": string; }
  "/api/cms": {}
  "/api/cms/[id]": { "id": string; }
  "/api/colors": {}
  "/api/colors/[id]": { "id": string; }
  "/api/contact": {}
  "/api/customer": {}
  "/api/customer/[id]": { "id": string; }
  "/api/customers": {}
  "/api/customers/[id]": { "id": string; }
  "/api/dashboard": {}
  "/api/email-templates": {}
  "/api/email-templates/[id]": { "id": string; }
  "/api/general-settings": {}
  "/api/inquiries": {}
  "/api/leads": {}
  "/api/newsletter": {}
  "/api/newsletter/[id]": { "id": string; }
  "/api/orders": {}
  "/api/orders/[id]": { "id": string; }
  "/api/product-color-images": {}
  "/api/product-color-images/[id]": { "id": string; }
  "/api/product-colors": {}
  "/api/product-colors/[id]": { "id": string; }
  "/api/product-images": {}
  "/api/product-images/[id]": { "id": string; }
  "/api/product-skus": {}
  "/api/product-skus/[id]": { "id": string; }
  "/api/products": {}
  "/api/products/[id]": { "id": string; }
  "/api/profile": {}
  "/api/profile/[id]": { "id": string; }
  "/api/profile/change-password": {}
  "/api/reviews": {}
  "/api/reviews/[id]": { "id": string; }
  "/api/sizes": {}
  "/api/sizes/[id]": { "id": string; }
  "/api/sliders": {}
  "/api/sliders/[id]": { "id": string; }
  "/api/states": {}
  "/api/static-videos": {}
  "/api/static-videos/[id]": { "id": string; }
  "/api/stores": {}
  "/api/stores/[id]": { "id": string; }
  "/api/upload": {}
  "/api/users": {}
  "/api/wishlist": {}
  "/appointments": {}
  "/blog": {}
  "/blog/[slug]": { "slug": string; }
  "/cart": {}
  "/clientapi/addreview": {}
  "/clientapi/appointment": {}
  "/clientapi/blog": {}
  "/clientapi/blog/[slug]": { "slug": string; }
  "/clientapi/cart": {}
  "/clientapi/cms": {}
  "/clientapi/contact-us": {}
  "/clientapi/generalsettings": {}
  "/clientapi/home": {}
  "/clientapi/leadsebmit": {}
  "/clientapi/login": {}
  "/clientapi/meghamenue": {}
  "/clientapi/newsletter": {}
  "/clientapi/order": {}
  "/clientapi/products": {}
  "/clientapi/products/[slug]": { "slug": string; }
  "/clientapi/products/filters": {}
  "/clientapi/register": {}
  "/clientapi/store": {}
  "/clientapi/storedetails": {}
  "/clientapi/users/address": {}
  "/clientapi/users/details": {}
  "/clientapi/users/orders": {}
  "/clientapi/wishlist": {}
  "/contact-us": {}
  "/dashboard": {}
  "/dashboard/addresses": {}
  "/dashboard/change-password": {}
  "/dashboard/profile": {}
  "/dashboard/wishlist": {}
  "/home": {}
  "/login": {}
  "/order-confirmation": {}
  "/orderdetails": {}
  "/productdetails/[slug]": { "slug": string; }
  "/products": {}
  "/register": {}
  "/store": {}
  "/stores": {}
  "/thankingyou": {}
  "/wishlist": {}
}


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

interface LayoutSlotMap {
  "/": never
  "/admin": never
  "/admin/login": never
  "/admin/profile": never
  "/dashboard": 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]>
  }
}
