import type { Command } from "commander"; import type { EmitContext } from "../commander.js"; /** * `harn edit-batch`: coordinated find/replace across N files in one call. * * Solves the recurring "rename oldName → newName everywhere" pattern that * otherwise costs N sequential Edit tool calls. Literal-string by default; * --regex flag treats the find string as a JS regex. --all flag replaces * every occurrence per file (default: first match only, matching the Edit * tool's default). * * Atomic per-file: writes to .batch.tmp. then renames. If any * file errors mid-batch, already-written files stay written: it's * idempotent at the per-file level, not transactional across the set. * Use --dry-run to preview before committing. */ export declare function registerEditBatchCommand(program: Command, emit: EmitContext): void; //# sourceMappingURL=edit-batch.d.ts.map