import type { Options } from './types'; export declare function resolveUrl(url: string, baseUrl: string | null): string; export declare const uuid: () => string; export declare function delay(ms: number): (args: T) => Promise; export declare function toArray(arrayLike: any): T[]; export declare function getImageSize(targetNode: HTMLElement, options?: Options): { width: number; height: number; }; export declare function getPixelRatio(): number; export declare function checkCanvasDimensions(canvas: HTMLCanvasElement): void; export declare function canvasToBlob(canvas: HTMLCanvasElement, options?: Options): Promise; export declare function createImage(url: string): Promise; export declare function svgToDataURL(svg: SVGElement): Promise; export declare function nodeToDataURL(node: HTMLElement, width: number, height: number): Promise; export declare const isInstanceOfElement: (node: Element | HTMLElement | SVGImageElement, instance: T) => node is T["prototype"];