import type { HttpTransportOptions, HttpTransportPeerClient, HttpTransportOperatorClient, HttpTransportSnapshot } from './http-types.js';
export interface RealtimeTransportOptions extends HttpTransportOptions {
    readonly webSocketImpl?: typeof WebSocket;
}
export interface RealtimeTransportSnapshot extends Omit<HttpTransportSnapshot, 'kind'> {
    readonly kind: 'realtime';
}
export interface RealtimeTransport {
    readonly kind: 'realtime';
    readonly operator: HttpTransportOperatorClient;
    readonly peer: HttpTransportPeerClient;
    getOperatorClient(): HttpTransportOperatorClient;
    getPeerClient(): HttpTransportPeerClient;
    snapshot(): Promise<RealtimeTransportSnapshot>;
}
export declare function createRealtimeTransport(options: RealtimeTransportOptions): RealtimeTransport;
//# sourceMappingURL=realtime.d.ts.map