import type { KicadIR, MatchResult, PendingChange, PendingTextChange, PendingLayoutChange } from './types.js'; export declare class SourceRewriter { computeFootprintChanges(matchResults: MatchResult[]): Promise; computeLayoutChanges(matchResults: MatchResult[], captureLayouts?: boolean): Promise; private getSourceLayout; private computeLayoutDiff; applyLayoutChanges(changes: PendingLayoutChange[]): Promise<{ filesModified: number; changesApplied: number; }>; computeTextChanges(ir: KicadIR, sourceFiles: string[]): Promise; applyFootprintChanges(changes: PendingChange[]): Promise<{ filesModified: number; changesApplied: number; }>; applyTextChanges(changes: PendingTextChange[]): Promise<{ filesModified: number; changesApplied: number; }>; } //# sourceMappingURL=rewriter.d.ts.map