import { Ref } from "vue"; import type { Options as HTMLToImageOptions } from "html-to-image/es/types"; type ImageType = "jpeg" | "png"; interface UseScreenshotOptions extends HTMLToImageOptions { type?: ImageType; fileName?: string; shouldDownload?: boolean; } type CaptureScreenshot = (el: HTMLElement, options?: UseScreenshotOptions) => Promise; type Download = (fileName: string) => void; interface UseScreenshot { capture: CaptureScreenshot; download: Download; dataUrl: Ref; error: Ref; } export declare function useScreenshot(): UseScreenshot; export {}; //# sourceMappingURL=useScreenshot.d.ts.map