export { resolvePath } from "./resolvePath.js";
/**
 * Print a colored, line-based diff of `oldText` vs `newText` to
 * stdout. Deletions are red, insertions are green, unchanged context
 * is dimmed. Used both as a standalone Agency tool (`std::fs::printDiff`)
 * and as the side effect of `edit(..., printDiff: true)`.
 */
export declare function _printDiff(oldText: string, newText: string): void;
export type MultiEdit = {
    oldText: string;
    newText: string;
    replaceAll: boolean;
};
export type MultiEditResult = {
    replacements: number;
    path: string;
    edits: number;
};
export declare function _multiedit(dir: string, filename: string, edits: MultiEdit[], printDiff?: boolean): Promise<MultiEditResult>;
export type PatchResult = {
    applied: number;
    files: string[];
};
export declare function _applyPatch(patch: string, allowedPaths?: string[]): Promise<PatchResult>;
export declare function _mkdir(dir: string, allowedPaths?: string[]): Promise<void>;
export declare function _copy(src: string, dest: string, allowedPaths?: string[]): Promise<void>;
export declare function _move(src: string, dest: string, allowedPaths?: string[]): Promise<void>;
export declare function _remove(target: string, allowedPaths?: string[]): Promise<void>;
export declare function rejectDangerousPath(p: string, op: string, role: string): Promise<void>;
