import type { RaceSafeReadOptions } from '../../platform/fs/race-safe-read.js'; export interface EngineRunReadOptions { hooks?: RaceSafeReadOptions['hooks']; } export interface EngineRunWriteOptions { beforeCommit?: () => void | Promise; } export interface EngineRunRemoveOptions { beforeRemove?: () => void | Promise; } export declare function readOptionalEngineRunText(changeDir: string, relativePath: string, maxBytes: number, label: string, options?: EngineRunReadOptions): Promise; export declare function writeEngineRunText(changeDir: string, relativePath: string, content: string, maxBytes: number, label: string, options?: EngineRunWriteOptions): Promise; export declare function appendEngineRunText(changeDir: string, relativePath: string, addition: string, maxBytes: number, label: string, options?: EngineRunWriteOptions): Promise; export declare function removeEngineRunFile(changeDir: string, relativePath: string, label: string, options?: EngineRunRemoveOptions): Promise; //# sourceMappingURL=protected-run-file.d.ts.map