/**
 * Files + Instructions handlers — extracted from StdioServer.
 * Handles: files.list, files.create, files.rename, files.delete, files.gitStatus,
 *          instructions.list, instructions.read, instructions.write, instructions.delete
 */
import { type AgentRpcError, type AgentRpcRequest } from "../../protocol/wire/index.js";
export interface FilesHandlerHost {
    getActiveProjectRoot(): string;
    sendResponse(id: string | number, result?: unknown, error?: AgentRpcError): void;
}
export declare function resolveProjectDir(projectId: string): string | null;
export declare function handleFilesList(this: FilesHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleFilesCreate(this: FilesHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleFilesRead(this: FilesHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleFilesRename(this: FilesHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleFilesDelete(this: FilesHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleFilesGitStatus(this: FilesHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleInstructionsList(this: FilesHandlerHost, msg: AgentRpcRequest): void;
export declare function handleInstructionsRead(this: FilesHandlerHost, msg: AgentRpcRequest): void;
export declare function handleInstructionsWrite(this: FilesHandlerHost, msg: AgentRpcRequest): void;
export declare function handleInstructionsDelete(this: FilesHandlerHost, msg: AgentRpcRequest): void;
export declare function handlePlansList(this: FilesHandlerHost, msg: AgentRpcRequest): void;
