/**
 * pacem v0.51.10-faraday (https://js.pacem.it)
 * Copyright 2025 Pacem (https://pacem.it)
 * Licensed under Apache-2.0
 */
declare namespace Pacem.Components.Media {
    class PacemAudioElement extends PacemEventTarget {
        #private;
        src: string;
        stream: boolean;
        autoplay: boolean;
        connectedCallback(): void;
        propertyChangedCallback(name: string, old: any, val: any, first?: boolean): void;
        viewActivatedCallback(): void;
        disconnectedCallback(): void;
        play(): Promise<void>;
        pause(): void;
        reset(): void;
        private get _canPlay();
        private _endedHandler;
        private _canPlayHandler;
        private _canPlayThroughHandler;
        private _autoplay;
        private _init;
    }
}
declare namespace Pacem.Components.Media {
    class PacemMediaRecorderElement extends PacemEventTarget {
        #private;
        source: HTMLCanvasElement | HTMLMediaElement | MediaStream;
        fps: number;
        mimeType: string;
        audioBitsPerSecond: number;
        videoBitsPerSecond: number;
        state: RecordingState;
        output: Blob;
        viewActivatedCallback(): void;
        propertyChangedCallback(name: string, old: any, val: any, first?: boolean): void;
        disconnectedCallback(): void;
        private _recorderLifecycleHandler;
        private _setupMediaRecorder;
        private _closeMediaRecorder;
        flush(): void;
        start(): void;
        stop(): void;
        resume(): void;
        pause(): void;
    }
}
