/** * Next.js utilities for automatic theme configuration */ /** * Configuration interface for Next.js theme setup */ export interface NextJSThemeConfig { /** Default theme to use */ defaultTheme?: string; /** Default mode (light/dark/auto) */ defaultMode?: 'light' | 'dark' | 'auto'; /** Registry path for themes */ registryPath?: string; /** Storage key for persistence */ storageKey?: string; /** Enable debug mode */ debug?: boolean; /** Custom themes registry URL */ registryUrl?: string; /** Enable system theme detection */ enableSystem?: boolean; /** Disable transition on change */ disableTransitionOnChange?: boolean; } /** * Create an optimized configuration for Next.js projects * * @param config - Optional configuration overrides * @returns Optimized configuration for Next.js */ export declare function createNextJSConfig(config?: NextJSThemeConfig): NextJSThemeConfig; /** * Utility to check if we're in a Next.js environment */ export declare function isNextJS(): boolean; /** * Utility to check if we're using App Router */ export declare function isAppRouter(): boolean; /** * Get the optimal theme registry path for Next.js */ export declare function getOptimalRegistryPath(customPath?: string): string; /** * Create theme registry configuration for Next.js */ export declare function createThemeRegistry(): { version: string; name: string; description: string; themes: { id: string; name: string; label: string; description: string; category: "built-in"; author: string; version: string; preview: { primary: string; secondary: string; background: string; foreground: string; }; cssVars: { light: { background: string; foreground: string; primary: string; 'primary-foreground': string; }; dark: { background: string; foreground: string; primary: string; 'primary-foreground': string; }; }; }[]; };