export interface HandleFbRequestOptions { /** Absolute workspace root, or null/undefined when none is configured. */ root: string | null | undefined; /** Whether the file browser is enabled for this agent. */ enabled: boolean; requestId: string; action: string; relPath: string; content?: string; newPath?: string; query?: string; /** Send a frame back to the server (the caller's WS sendFrame). */ sendFrame: (frame: Record) => void; /** Optional logger (unused today, accepted for parity/future use). */ log?: (m: string) => void; } /** * Handle a file-browser request from the server (originated by the browser UI). * Replies via `sendFrame({ type:'fb_response', requestId, ok, ...extra })`. */ export declare function handleFbRequest(opts: HandleFbRequestOptions): void;