import type { Server } from "node:http";
import type { TerminalSessionService } from "./terminal-session-service.js";
export interface CreateTerminalWebSocketBridgeRequest {
    server: Server;
    resolveTerminalManager: (workspaceId: string) => TerminalSessionService | null;
    isTerminalIoWebSocketPath: (pathname: string) => boolean;
    isTerminalControlWebSocketPath: (pathname: string) => boolean;
}
export interface TerminalWebSocketBridge {
    close: () => Promise<void>;
}
export declare function createTerminalWebSocketBridge({ server, resolveTerminalManager, isTerminalIoWebSocketPath, isTerminalControlWebSocketPath, }: CreateTerminalWebSocketBridgeRequest): TerminalWebSocketBridge;
//# sourceMappingURL=ws-server.d.ts.map