export declare class VideoRecorder { private recorder; private chunks; private startedAt; private onRecordingError; /** Fires immediately on a mid-recording error, unlike stop()'s onerror which only fires when stop() is later called. */ onError(callback: () => void): void; start(stream: MediaStream): void; stop(): Promise<{ blob: Blob; durationSeconds: number; }>; isRecording(): boolean; } //# sourceMappingURL=VideoRecorder.d.ts.map