import type { PermissionMode } from './acp-permissions.js';
interface ReadTextFileRequest {
    path: string;
    line?: number;
    limit?: number;
}
interface WriteTextFileRequest {
    path: string;
    content: string;
}
export declare class FileSystemHandlers {
    private readonly rootDir;
    private readonly permissionMode;
    constructor(opts: {
        cwd: string;
        permissionMode: PermissionMode;
    });
    readTextFile(params: ReadTextFileRequest): Promise<{
        content: string;
    }>;
    writeTextFile(params: WriteTextFileRequest): Promise<Record<string, never>>;
    private resolvePathWithinRoot;
    private sliceContent;
}
export {};
//# sourceMappingURL=acp-fs-handlers.d.ts.map