import { SessionType } from '@multiplayer-app/session-recorder-common';
import { SessionRecorderConfigs } from '../types';
import { SocketService } from '../services/socket.service';
export declare class RecorderBrowserSDK {
    private stopFn?;
    private config?;
    private socketService?;
    private restartInterval;
    private _startedAt;
    get startedAt(): string;
    set startedAt(v: string);
    private _stoppedAt;
    get stoppedAt(): string;
    set stoppedAt(v: string);
    constructor();
    /**
     * Initializes the recorder SDK with configuration settings.
     * @param config - Configuration settings for the session debugger.
     * @param socketService - Optional socket service instance for sending events.
     */
    init(config: SessionRecorderConfigs, socketService?: SocketService): void;
    /**
     * Starts recording events for a given session ID.
     * @param sessionId - The ID of the session to record events for.
     */
    start(sessionId: string | null, sessionType: SessionType): void;
    /**
     * Restarts the recording of events.
     */
    restart(sessionId: string | null, sessionType: SessionType): Promise<void>;
    /**
     * Clears the restart timeout.
     */
    clearRestartInterval(): void;
    /**
     * Stops the recording of events.
     */
    stop(): void;
}
//# sourceMappingURL=index.d.ts.map