import type { Tool } from '@wrongstack/core/types'; export interface ReplaceInput { pattern: string; replacement: string; files: string | string[]; glob?: string | undefined; replace_all?: boolean | undefined; dry_run?: boolean | undefined; } export interface ReplaceOutput { files_modified: number; total_replacements: number; results: { path: string; replacements: number; diff?: string | undefined; }[]; dry_run: boolean; /** Set when the combined diff payload was truncated to the output budget. */ note?: string | undefined; } export declare const replaceTool: Tool; /** Test-only: forget the cached rg availability so mocks can vary per test. */ export declare function __resetRgDetectionForTests(): void; //# sourceMappingURL=replace.d.ts.map