/**
 * Apply Patch Executor
 *
 * Built-in implementation for the legacy apply_patch format.
 */
import type { ApplyPatchExecutor } from "../types.js";
/**
 * Options for the apply_patch executor
 */
export interface ApplyPatchExecutorOptions {
    /**
     * File encoding used for read/write operations
     * @default "utf-8"
     */
    encoding?: BufferEncoding;
    /**
     * Restrict relative-path file operations to paths inside cwd.
     * Absolute paths are always accepted as-is.
     * @default true
     */
    restrictToCwd?: boolean;
}
/**
 * Create an apply_patch executor using Node.js fs module.
 */
export declare function createApplyPatchExecutor(options?: ApplyPatchExecutorOptions): ApplyPatchExecutor;
