export { A as AnalysisResult, b as AnalyzerOptions, c as FileInput, F as FileType, I as ImportInfo, P as Platform, d as PrimitiveRule, e as PrimitiveRuleSet, S as Severity, a as Violation, V as ViolationType } from './types-CvIlSIOV.cjs'; export { B as BabelThemeKeys, a as analyzeComponents, b as analyzeTheme, l as loadThemeKeys, r as resetThemeCache } from './theme-analyzer-Bm-ZTjvz.cjs'; import { C as ComponentRegistry } from './types-CnxJMLD8.cjs'; export { b as ComponentAnalyzerOptions, a as ComponentDefinition, c as ControlledState, I as IdealystDocsPluginOptions, P as PropDefinition, S as SampleProps, T as ThemeValues } from './types-CnxJMLD8.cjs'; export { generateComponentRegistry, idealystDocsPlugin } from './vite-plugin.cjs'; export { AnalysisSummary, ComponentLinterOptions, LintIssue, LintIssueType, LintResult, LintSummary, analyzeFiles, analyzePlatformImports, formatLintIssue, formatLintResults, formatViolation, formatViolations, lintComponent, lintComponents, summarizeLintResults, summarizeResults } from './analyzers/index.cjs'; export { HTML_ELEMENT_NAMES, HTML_INTRINSIC_ELEMENTS, REACT_DOM_PRIMITIVES, REACT_DOM_PRIMITIVE_NAMES, REACT_DOM_RULE_SET, REACT_DOM_SOURCES, REACT_NATIVE_PRIMITIVES, REACT_NATIVE_PRIMITIVE_NAMES, REACT_NATIVE_RULE_SET, REACT_NATIVE_SOURCES, getReactDomPrimitive, getReactNativePrimitive, isHtmlElement, isReactDomPrimitive, isReactNativePrimitive } from './rules/index.cjs'; export { ImportParserOptions, classifyFile, filterPlatformImports, getBaseName, getExpectedPlatform, getPlatformForSource, getUniqueSources, groupImportsBySource, isComponentFile, isPlatformSpecificFile, isSharedFile, parseImports } from './utils/index.cjs'; import 'vite'; /** * @idealyst/tooling * * Code analysis and validation utilities for Idealyst Framework. * Provides tools for babel plugins, CLI, and MCP to validate cross-platform code. * * Also provides component documentation generation: * - analyzeComponents(): Generate a component registry from TypeScript source * - analyzeTheme(): Extract theme values (intents, sizes, etc.) * - idealystDocsPlugin(): Vite plugin for virtual module support */ /** * Component registry placeholder. * This empty object is replaced at build time by the idealystDocsPlugin * with the actual component metadata extracted from your codebase. * * @example * ```ts * import { componentRegistry } from '@idealyst/tooling'; * * // Access component definitions * const buttonDef = componentRegistry['Button']; * console.log(buttonDef.description); * console.log(buttonDef.props); * ``` */ declare const componentRegistry: ComponentRegistry; /** * List of all component names in the registry. * Replaced at build time by the Vite plugin. */ declare const componentNames: string[]; /** * Get components filtered by category. * Replaced at build time by the Vite plugin. */ declare function getComponentsByCategory(category: string): string[]; /** * Get prop configuration for a component (useful for playgrounds). * Replaced at build time by the Vite plugin. */ declare function getPropConfig(componentName: string): Record; export { ComponentRegistry, componentNames, componentRegistry, getComponentsByCategory, getPropConfig };