export declare function parseYouTubeId(src: string): string | null; export declare function parseVimeoId(src: string): string | null; /** The srcset candidate a browser would pick for `width` CSS pixels. */ export declare function pickSrcsetCandidate({ srcset, width, pixelRatio, }: { srcset: string; width: number; pixelRatio: number; }): string | null; /** * Draws the page's first screen (from the document top, regardless of scroll) * into an exact width×height JPEG. Videos and YouTube/Vimeo embeds, which the * page cannot read directly, are swapped for their current frame or thumbnail. */ export declare function capturePage({ width, height, }: { width: number; height: number; }): Promise;