/** * Takes a normalized hiccup tree of [`thi.ng/geom`](https://thi.ng/geom) and/or * [thi.ng/hdom-canvas](https://thi.ng/hdom-canvas) shape definitions and * recursively converts it into an hiccup flavor which is compatible for direct * SVG serialization. This conversion also involves translation, stringification * & reorg of various attributes. The function returns new tree. The original * remains untouched, as will any unrecognized tree/shape nodes. * * @remarks * The `__convert` control attribute can be used to explicitly disable * conversion for the given tree branch (i.e. use `{ __convert: false }`). * * The `__prec` control attribute can be used (on a per-shape basis) to control * the formatting used for various floating point values (except color * conversions). See {@link setPrecision}. Child shapes (of a group) inherit the * precision setting of their parent. * * Also see {@link group} for handling of the special `__inkscapeLayer` group * attrib. * * To control the formatting precision for colors, use [the relevant function in * the thi.ng/color * package](https://docs.thi.ng/umbrella/color/functions/setPrecision.html). * * @param tree - shape tree */ export declare const convertTree: (tree: any) => any[] | null; //# sourceMappingURL=convert.d.ts.map