import type { DevelopmentMode } from '../types/core.js';
/**
 * Creates an approval policy for file-mutation tools.
 * Returns false (no approval) if the tool is always-allowed or the current
 * mode is auto-accept/headless; otherwise requires approval. (Yolo is bypassed
 * centrally by resolveToolApproval.)
 *
 * Mode is supplied by the caller (the central approval resolver), never read
 * from a global.
 */
export declare function createFileToolApproval(toolName: string): (args: unknown, mode: DevelopmentMode) => boolean;
//# sourceMappingURL=tool-approval.d.ts.map