/** * SnapDOM v3 capture helpers. * * Width/height are the final CSS size (they win over `scale`). `dpr` defaults * to 1 so those dimensions are also the pixel size — pass `dpr: 2` when a * booth needs a hidpi backing store. Fonts embed automatically (`'auto'`); * pass `false` only to skip webfonts the way the old `fontEmbedCSS: ''` did. */ import { type SnapdomOptions } from '@zumer/snapdom'; export type SnapdomCaptureOptions = Pick; export declare const prefetchSnapdom: () => void; export declare const captureToCanvas: (element: Element, options?: SnapdomCaptureOptions) => Promise; export declare const captureToPngDataUrl: (element: Element, options?: SnapdomCaptureOptions) => Promise; export declare const captureToJpegDataUrl: (element: Element, options?: SnapdomCaptureOptions) => Promise;