// @ts-nocheck export class MediaElementAudioCapture { constructor(); /** * Captures the audio stream from a video element and returns a MediaStream. * @param {HTMLMediaElement} mediaElement - The media element (video or audio) to capture audio from. * @returns The MediaStream with the captured audio. * @throws {Error} - Throws an error if the provided element is not a valid HTMLMediaElement or if no media stream is found on the provided video element. */ captureAudio(mediaElement: HTMLMediaElement): MediaStream; }