export class MediaElementAudioCapture { constructor(); /** * Captures one video/audio element's MediaStream at a time. A valid new input * replaces the previous source while the returned output stream stays stable. * Metadata updates follow only the active element; empty metadata silences it. * The integrator keeps ownership of its tracks and metadata handlers. * @throws {Error} If the element is not a video/audio element or has no stream. * Invalid calls and source construction failures preserve the accepted input. */ captureAudio(mediaElement: HTMLMediaElement): MediaStream; }