import { SVGExportOptions } from "./interfaces"; /** * Downloads the SVG element in png file format. * @param svg SVG DOM Element object to be exported. Alternatively, a string of the serialized SVG can be passed * @param svgName title of the svg document to be exported, to be used as file name * @param options export options * @returns a Promise that can be awaited until the file export completes */ export declare function downloadPng(svg: SVGGraphicsElement | string, svgName: string, options?: SVGExportOptions): Promise; /** * Downloads the SVG element in jpeg file format. * @param svg SVG DOM Element object to be exported. Alternatively, a string of the serialized SVG can be passed * @param svgName title of the svg document to be exported, to be used as file name * @param options export options * @returns a Promise that can be awaited until the file export completes */ export declare function downloadJpeg(svg: SVGGraphicsElement | string, svgName: string, options?: SVGExportOptions): Promise;