/** * Props extractor using TypeScript compiler API * Extracts component props from TypeScript source files */ import * as ts from "typescript"; export interface PropInfo { type: string; required: boolean; description?: string; default?: string; } /** * Create a shared TypeScript program for multiple files * This is much more efficient than creating a new program for each file */ export declare function createSharedProgram(filePaths: string[]): { program: ts.Program; checker: ts.TypeChecker; }; /** * Extract props from a TypeScript component file using a shared program * @param filePath - Path to the TypeScript file * @param options - Extraction options including optional shared program * @returns Object with prop names as keys and PropInfo as values */ export declare function extractPropsFromFile(filePath: string, options?: { verbose?: boolean; program?: ts.Program; checker?: ts.TypeChecker; componentName?: string; }): Record; //# sourceMappingURL=props-extractor.d.ts.map