export interface Range { start: number; end: number; } export interface PropertyValue { range: Range; value: unknown; } export interface ComponentInfo { variableName: string; isThis: boolean; creationRange: Range; constructorArgType: 'string' | 'object' | 'none'; footprint?: string; reference?: string; properties: Record; inlinePcb?: { range: Range; props: Record; }; line: number; } export interface PcbAssignmentInfo { variableName: string; isThis: boolean; assignmentRange: Range; objectRange: Range; props: Record; line: number; } export interface TextCallInfo { callRange: Range; text: string; props: Record; line: number; } export interface LayoutAssignmentInfo { variableName: string; isThis: boolean; propertyName: string; assignmentRange: Range; objectRange: Range; props: Record; line: number; } export interface Replacement { range: Range; newValue: string; } export declare function analyzeFile(filePath: string): Promise<{ components: ComponentInfo[]; pcbAssignments: PcbAssignmentInfo[]; layoutAssignments: LayoutAssignmentInfo[]; textCalls: TextCallInfo[]; } | null>; export declare function analyzeFileSync(filePath: string): { components: ComponentInfo[]; pcbAssignments: PcbAssignmentInfo[]; layoutAssignments: LayoutAssignmentInfo[]; textCalls: TextCallInfo[]; } | null; export declare function findComponentByVariable(filePath: string, variableName: string, isThis?: boolean): Promise; export declare function findPcbAssignmentByVariable(filePath: string, variableName: string, isThis?: boolean): Promise; export declare function findLayoutAssignments(filePath: string, variableName: string, isThis?: boolean): Promise; export declare function findTextCalls(filePath: string): Promise; export declare function applyReplacements(filePath: string, replacements: Replacement[]): boolean; export declare function getMemberPrefix(isThis: boolean): string; export declare function collectTypeScriptFiles(dir: string): string[]; //# sourceMappingURL=source_analyzer.d.ts.map