/** * Dynamic component discovery for manifest generation * This file is used ONLY during build time to generate the manifest files * It will not be included in the published package */ import * as ts from "typescript"; export interface ComponentInfo { id?: string; name: string; componentName?: string; category: string; importPath: string; import?: string; description?: string; example?: string; props?: Record; info?: string; } export interface GroupedComponentInfo { type: "group"; id?: string; name: string; category: string; description: string; importPath: string; info?: string; components: Record | Array<{ name: string; componentName?: string; import: string; description?: string; }>; } export declare function toKebabCase(str: string): string; export declare function toPascalCase(str: string): string; export declare function discoverAllComponents(): ComponentInfo[]; export declare function isGroupedComponent(name: string): boolean; export declare function getGroupedComponentInfo(groupName: string): GroupedComponentInfo | null; /** * Get file paths for a component * Handles both multi-export packages (with /) and regular components * @param componentName - The component name (e.g., "button" or "charts/area-chart") * @param explicitComponentName - Optional explicit component name (for multi-export packages) */ export declare function getComponentPaths(componentName: string, explicitComponentName?: string): { componentPath: string; storyPath: string; readmePath: string; actualComponentName: string; }; export declare function getComponentInfo(componentName: string, options?: { verbose?: boolean; components?: ComponentInfo[]; program?: ts.Program; checker?: ts.TypeChecker; }): ComponentInfo | GroupedComponentInfo | null; //# sourceMappingURL=component-discovery-dynamic.d.ts.map