/**
 * Parse a video URL into an embed descriptor. Supports YouTube and Vimeo.
 * Returns null for URLs we don't recognize (the caller should treat those as
 * raw `<video src>` files). Used by VideoElement renderers to switch between
 * `<video>` and `<iframe>` rendering.
 *
 * Important: embed URLs cannot be captured by the server-side export pipeline
 * (cross-origin iframe content isn't accessible to Puppeteer's `__tick` virtual
 * clock and YouTube's player ignores any external time signal). We surface
 * this as a warning in the properties panel.
 */
export interface VideoEmbed {
    provider: 'youtube' | 'vimeo';
    /** ID of the video on the provider (`dQw4w9WgXcQ` for YouTube, `123456` for Vimeo). */
    id: string;
    /** Fully-formed src for an `<iframe>`. */
    embedSrc: string;
    /** A poster image we can probe for from the provider. */
    thumbnail?: string;
}
export interface ParseEmbedOptions {
    autoplay?: boolean;
    loop?: boolean;
    muted?: boolean;
    startTime?: number;
    endTime?: number;
    showControls?: boolean;
}
export declare function parseEmbedUrl(url: string, opts?: ParseEmbedOptions): VideoEmbed | null;
export declare function isEmbedUrl(url: string): boolean;
