import type { App } from '../App'; import type { Bounds } from '../performance/bounds'; import type { ExportOptions, ExportRegion } from './exportTypes'; export interface SnapshotResult { canvas: HTMLCanvasElement; width: number; height: number; pixelRatio: number; } /** Resolve export region to world-space bounds. */ export declare function resolveExportBounds(app: App, region?: ExportRegion): Bounds; /** Render scene to offscreen canvas for raster export. */ export declare function snapshotToCanvas(app: App, options?: ExportOptions): SnapshotResult; /** Serialize standalone SVG XML document. */ export declare function exportSvgDocument(app: App, options?: ExportOptions): string;