export interface HandleGitRequestOptions { /** Absolute workspace root, or null/undefined when none is configured. */ root: string | null | undefined; /** Whether the git panel is enabled for this agent. */ enabled: boolean; requestId: string; action: string; filePath?: string; staged?: boolean; message?: string; branch?: string; hash?: 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 git-panel request from the server (originated by the browser UI). * Replies via `sendFrame({ type:'git_response', requestId, ok, ...extra })`. */ export declare function handleGitRequest(opts: HandleGitRequestOptions): void;