/** * SurgicalASTInsert — AST-based surgical code insertion utility. * * Allows inserting methods, functions, or variable declarations inside a specific * class, interface, or file scope, anchoring it relative to another symbol (e.g., "after method login"). * * Prevents the LLM from outputting entire files or large search-replace blocks, * reducing output token costs by up to 95%. */ export interface ASTInsertOptions { filePath: string; symbolName?: string; anchorSymbol?: string; insertPosition?: 'before' | 'after' | 'start' | 'end'; codeToInsert: string; } /** * Core orchestrator for Surgical AST insertion. */ export declare function surgicalASTInsert(workspaceRoot: string, options: ASTInsertOptions): string; //# sourceMappingURL=SurgicalASTInsert.d.ts.map