import { f as PathSeg } from "./displayList.js"; import { PathValue } from "@glissade/core"; //#region src/path.d.ts /** * Minimal SVG `` tokenizer → `PathSeg[]`, kept inside `scene` so it * never imports `@glissade/svg` (that would invert the enforced dependency * direction, scene ← svg). Handles the common command set: M/m L/l H/h V/v * C/c Q/q Z/z (absolute + relative, implicit-repeat per spec). For the FULL set * (S/T/A smooth-curves + arcs, with reflection), import a `.svg` through * `@glissade/svg`'s `parseSvgPath`; this lean copy covers hand-written `data` * strings. Unknown commands are skipped. */ declare function parseSvgPathData(d: string): PathSeg[]; /** * Convenience: an SVG `d` string → `PathValue` (the contour form `Path.data` * wants), via `parseSvgPathData` → `pathFromSegs`. Pass the result to a Path: * `new Path({ data: pathFromSvg('M0 0 …') })`. */ declare function pathFromSvg(d: string): PathValue; //#endregion export { parseSvgPathData, pathFromSvg };