import type { IncomingMessage } from "node:http";
import type { WebSocket } from "ws";
import type { SessionManager } from "../agent/session-manager.js";
import type { RateLimiter } from "../auth/rate-limit.js";
import type { SandboxTokenStore } from "../auth/sandbox-token.js";
import type { ProjectContextManager } from "../agent/project-context-manager.js";
export declare function handleWebSocketConnection(ws: WebSocket, sessionId: string, req: IncomingMessage, sessionManager: SessionManager, authToken: string, rateLimiter: RateLimiter, projectConfigStore?: {
    get(key: string): string | undefined;
}, skipAuth?: boolean, sandboxTokenStore?: SandboxTokenStore, projectContextManager?: ProjectContextManager): void;
//# sourceMappingURL=handler.d.ts.map