/** * Video element utilities for creating and managing video elements * with proper configuration for WebRTC streams. */ /** * Creates a video element configured for WebRTC streams. * The video is muted, autoplays, and plays inline (mobile Safari support). * Prevents pause events which can occur on camera switches or PiP mode. * * @returns A configured HTMLVideoElement */ export declare function createVideoElement(): HTMLVideoElement; /** * Waits for a video element to be ready for playback. * Resolves when the video has metadata or when it can play. * * @param element - The video element to wait for * @returns A promise that resolves when the video is ready */ export declare function waitForVideoReady(element: HTMLVideoElement): Promise; /** * Attaches a MediaStream to a video element. * * @param element - The video element to attach the stream to * @param stream - The MediaStream to attach, or null to detach */ export declare function attachMediaStream(element: HTMLVideoElement, stream: MediaStream | null): void; /** * Detaches any MediaStream from a video element. * * @param element - The video element to detach the stream from */ export declare function detachMediaStream(element: HTMLVideoElement): void; //# sourceMappingURL=video.d.ts.map