import { type InvariantViolation } from './ast-invariant-engine.js'; export interface MutateSymbolOptions { file: string; symbol: string; newBody: string; target?: 'body' | 'full' | undefined; checkInvariants?: boolean | undefined; allowBreakingChanges?: boolean | undefined; } export interface MutateSymbolResult { file: string; symbol: string; originalRange: { startLine: number; endLine: number; }; newRange: { startLine: number; endLine: number; }; updatedContent: string; violations?: InvariantViolation[] | undefined; } /** * Surgically replace a symbol's body or definition inside a source file. */ export declare function replaceSymbolInFile(opts: MutateSymbolOptions, projectRoot: string): Promise; //# sourceMappingURL=ast-symbol-mutator.d.ts.map