///
export declare const urlToImage: (url: string) => Promise;
export declare const base64ToBlob: (base64: string) => Promise;
export declare const img2Base64: (source: InstanceType) => Promise;
export declare const img2Blob: (img: HTMLImageElement) => Promise;
interface Dom2SvgOptions {
width?: number;
height?: number;
overwrite?: Array<{
selector: Parameters[0] | "";
style?: React.CSSProperties;
innerText?: string;
innerHTML?: string;
attrs?: Record;
}>;
styleText?: string;
wrapper?: (content: Element) => Element;
}
export declare const dom2Svg: (dom: HTMLElement, option?: Dom2SvgOptions) => Promise;
export {};