import App from '../../app/index.js'; export declare const Quality: { Standard: { width: number; height: number; }; High: { width: number; height: number; }; }; export default class Recorder { private readonly app; private mediaRecorder; private recordedChunks; private stream; private recStartTs; constructor(app: App); startRecording(fps: number, quality: (typeof Quality)[keyof typeof Quality], micReq: boolean, camReq: boolean): Promise; stopRecording(): Promise; sendToAPI(): Promise; saveToFile(fileName?: string): Promise; discard(): void; }