import { useVueFlow } from '@vue-flow/core'; type VueFlowStore = ReturnType; /** 현재 캔버스를 측정·합성해 SVG 문자열을 반환 (다운로드 없이 문자열만 필요할 때). */ export declare function buildDiagramSvg(vf: VueFlowStore): string; /** 현재 캔버스를 벡터 SVG로 내보내 브라우저 다운로드를 트리거한다. */ export declare function exportDiagramSvg(vf: VueFlowStore, filename?: string): void; /** * 현재 캔버스를 PNG 래스터로 내보내 다운로드한다. SVG 문자열을 Image로 로드해 오프스크린 캔버스에 * 그린 뒤 toBlob으로 변환한다. 합성 SVG는 외부 참조(foreignObject·원격 이미지·폰트) 없이 도형·텍스트로만 * 구성되고 색상도 concrete 값이 박혀 있어(측정 레이어가 computed style 채취) 캔버스 tainting이 없다. * scale=2로 확대 렌더해 고해상도(레티나·문서 삽입) 품질을 확보한다. */ export declare function exportDiagramPng(vf: VueFlowStore, filename?: string, scale?: number): Promise; export {};