import { Actionable } from "../action/actionable"; export type VideoConfig = { src: string; muted: boolean; }; export declare class Video extends Actionable { /** * Create a video element with source and optional mute flag. * @param config - Source configuration for the video. * @example * ```ts * const video = new Video({ src: "https://example.com/video.mp4", muted: true }); * ``` */ constructor(config: Partial); /** * Show the video element. * @chainable */ show(): ChainedVideo; /** * Hide the video element. * @chainable */ hide(): ChainedVideo; /** * Play the video and wait until it finishes. * @chainable * @example * ```ts * video.play(); * ``` */ play(): ChainedVideo; }