import { ISession } from '../types';
export declare class RrwebEventExporter {
    private options;
    private socket;
    private queue;
    private isConnecting;
    private isConnected;
    private usePostMessage;
    private attempts;
    private sessionId;
    constructor(options: {
        socketUrl: string;
        apiKey: string;
        usePostMessageFallback?: boolean;
    });
    private init;
    private checkReconnectionAttempts;
    private sendViaPostMessage;
    private flushQueue;
    private unsubscribeFromSession;
    send(event: any): void;
    subscribeToSession(session: ISession): void;
    close(): void;
}
//# sourceMappingURL=exporter.d.ts.map