export { resolvePath } from "./resolvePath.js"; export type MultiEdit = { oldText: string; newText: string; replaceAll: boolean; }; export type MultiEditResult = { replacements: number; path: string; edits: number; }; export declare function _previewEdit(dir: string, filename: string, edits: MultiEdit[]): Promise<{ before: string; after: string; }>; export declare function _multiedit(dir: string, filename: string, edits: MultiEdit[]): Promise; export type PatchResult = { applied: number; files: string[]; }; export declare function _applyPatch(patch: string, allowedPaths?: string[]): Promise; export declare function _mkdir(dir: string, allowedPaths?: string[]): Promise; export declare function _copy(src: string, dest: string, allowedPaths?: string[]): Promise; export declare function _move(src: string, dest: string, allowedPaths?: string[]): Promise; export declare function _remove(target: string, allowedPaths?: string[]): Promise; export declare function rejectDangerousPath(p: string, op: string, role: string): Promise;