import type { DocumentMatrix, DocumentNode, DocumentTransaction } from './contracts.js'; import { type SvgAsset } from './assets.js'; import { type VectorPath } from './vector.js'; export declare function svgTransform(text?: string): DocumentMatrix; /** SVG path parser. Quadratic and smooth segments become equivalent cubic control points. */ export declare function parseSvgPath(data: string): VectorPath[]; export interface SvgImportResult { asset: SvgAsset; rootId: string; nodes: DocumentNode[]; } /** Imports primitives and cubic paths as real editable vector/group nodes. Unsupported constructs reject atomically. */ export declare function importEditableSvg(markup: string, options: { name?: string; allocateId: (sourceId: string) => string; }): SvgImportResult; export declare function addImportedSvg(transaction: Pick, result: SvgImportResult, parentId: string): void;