/** * Generate filename */ export function generateFilename(svg: any): string; /** * Render to canvas. * CHANGE: always pass null as modalClone — use original SVG only. */ export function renderToCanvas(sourceElement: any, modalClone: any, transparent?: boolean): Promise<{ canvas: HTMLCanvasElement; scale: any; width: any; height: any; }>; /** * Export as SVG * @param {HTMLElement} sourceElement - Element containing SVG * @param {object} [options={}] - Export options */ export function exportToSVG(sourceElement: HTMLElement, options?: object): Promise; /** * Export as PNG */ export function exportToPNG(sourceElement: any, options?: {}): Promise; /** * Export as JPEG */ export function exportToJPEG(sourceElement: any, options?: {}): Promise; /** * Export as WebP */ export function exportToWebP(sourceElement: any, options?: {}): Promise; /** * Copy to Clipboard (PNG) */ export function copyToClipboard(sourceElement: any, options?: {}): Promise; /** * Export as PDF */ export function exportToPDF(sourceElement: any, options?: {}): Promise; /** * Main Export Handler */ export function exportDiagram(sourceElement: any, mode: any, options?: {}): Promise; //# sourceMappingURL=export.d.ts.map