import { Plugin } from 'vite'; import { I as IdealystDocsPluginOptions, C as ComponentRegistry } from './types-CnxJMLD8.cjs'; /** * Idealyst Docs Vite Plugin * * Generates a component registry at build time by analyzing TypeScript source. * Replaces placeholder exports from @idealyst/tooling with actual generated values. * * Usage: * ```ts * // vite.config.ts * import { idealystDocsPlugin } from '@idealyst/tooling'; * * export default defineConfig({ * plugins: [ * idealystDocsPlugin({ * componentPaths: ['../../packages/components/src'], * themePath: '../../packages/theme/src/lightTheme.ts', * }), * ], * }); * ``` * * Then in your app: * ```ts * import { componentRegistry, componentNames, getComponentsByCategory } from '@idealyst/tooling'; * ``` */ /** * Create the Idealyst Docs Vite plugin. */ declare function idealystDocsPlugin(options: IdealystDocsPluginOptions): Plugin; /** * Standalone function to generate registry (for MCP server or CLI). */ declare function generateComponentRegistry(options: IdealystDocsPluginOptions): ComponentRegistry; export { generateComponentRegistry, idealystDocsPlugin };