import { ProctoringSessionOptions } from "../../proctoring/options/ProctoringOptions"; import { AlertCategory, AlertType, ProctoringSession } from "../proctoring/ProctoringSession"; import { IRecorder } from "./IRecorder"; export declare class AlertRecorder implements IRecorder { private alerts; private startTime; private onLostFocusCallback; private onFocusCallback; private onRealtimeAlertCallback?; private optionsProctoring; private lastActivityTime; private idleCheckInterval; private readonly IDLE_THRESHOLD_MS; private resizeTimeout; constructor(options: { onLostFocusCallback: (response: any) => void; onFocusCallback: (response: any) => void; onRealtimeAlertCallback?: (response: any) => void; }, optionsProctoring: ProctoringSessionOptions); startRecording(): Promise; pauseRecording(): Promise; resumeRecording(): Promise; stopRecording(): Promise; saveOnSession(session: ProctoringSession): Promise; private attachListeners; private detachListeners; private handleVisibilityChange; private handleLostFocus; private handleReturnFocus; private handleResize; private handleUserActivity; addBackgroundEvent(description: string, category?: AlertCategory): void; private handleCopy; private handleCut; private handlePaste; private getRelativeTime; private createAlert; addAlert({ alert, type }: { alert: AlertCategory; type: AlertType; }): void; }