import type { BrowserPool } from "./browser-pool.js"; import type { JsonObject } from "./types.js"; export interface DispatchResult { ok: boolean; error?: string; } export declare class InputDispatcher { private readonly pool; constructor(pool: BrowserPool); private mouseMoveChain; private pendingMouseMoveCoord; private readonly buttonsMaskBySession; private maskKey; private getButtonsMask; private setButtonsMask; clearSession(agentId: string, browserId: string): void; private flushMouseMoves; acquireTakeover(agentId: string, browserId: string, clientId: string): boolean; releaseTakeover(agentId: string, browserId: string, clientId: string): void; dispatch(agentId: string, browserId: string, action: string, payload: JsonObject): Promise; private executeAction; }