import { QRCodeStyling } from '../core/qr-code-styling.js'; import { RecursivePartial } from '../types/helper.js'; import { CanvasOptions } from '../utils/canvas-options.js'; export declare enum FileExtension { svg = "svg", png = "png", jpeg = "jpeg", webp = "webp" } export declare function drawToCanvas(qrCode: QRCodeStyling, options?: RecursivePartial): { canvas: HTMLCanvasElement; canvasDrawingPromise: Promise | undefined; } | undefined; export declare function download(qrCode: QRCodeStyling, downloadOptions?: { name?: string; extension: `${FileExtension}`; }, options?: RecursivePartial): Promise; export declare function downloadURI(uri: string, name: string): void;