export { B as BabelThemeKeys, a as analyzeComponents, b as analyzeTheme, l as loadThemeKeys, r as resetThemeCache } from '../theme-analyzer-Bm-ZTjvz.cjs'; import { T as ThemeValues } from '../types-CnxJMLD8.cjs'; export { b as ComponentAnalyzerOptions, d as ComponentCategory, a as ComponentDefinition, C as ComponentRegistry, c as ControlledState, I as IdealystDocsPluginOptions, P as PropDefinition, S as SampleProps } from '../types-CnxJMLD8.cjs'; /** * Theme Source Analyzer - Extracts all theme values directly from TypeScript source. * * This analyzer parses the theme file and extracts all values from the builder API * without relying on hardcoded defaults. It traces: * - createTheme() / fromTheme(base) * - .addIntent('name', {...}) * - .addRadius('name', value) * - .addShadow('name', {...}) * - .setSizes({ component: { size: {...}, ... }, ... }) * - .setColors({ surface: {...}, text: {...}, border: {...}, pallet: {...} }) * - .setBreakpoints({ xs: 0, sm: 576, ... }) * - .build() */ interface ThemeSourceAnalyzerOptions { /** Enable verbose logging */ verbose?: boolean; /** Package aliases for resolving imports (e.g., { '@idealyst/theme': '/path/to/packages/theme' }) */ aliases?: Record; } /** * Analyze a theme file and extract all theme values. * This is the main entry point for theme analysis. */ declare function analyzeThemeSource(themePath: string, options?: ThemeSourceAnalyzerOptions): ThemeValues; /** * Convert ThemeValues to the format expected by the Babel plugin. */ interface BabelThemeKeys { intents: string[]; sizes: Record; radii: string[]; shadows: string[]; typography: string[]; surfaceColors: string[]; textColors: string[]; borderColors: string[]; } declare function toBabelThemeKeys(values: ThemeValues): BabelThemeKeys; export { type BabelThemeKeys as BabelThemeKeysNew, type ThemeSourceAnalyzerOptions, ThemeValues, analyzeThemeSource, toBabelThemeKeys };