import type { Attribs } from "./api.js"; /** * Defines an `` root element with default XML namespaces. By default * currently still defaults to SVG version to 1.1 to support Safari and other * legacy tooling (can be overridden). * * @remarks * If the `__convert` boolean attrib is enabled, all body elements will be * automatically converted using {@link convertTree}. The `__convert` attrib * will be removed afterward and is NOT going to be serialized in the final * output. * * Only if `__convert` is true, the `__prec` control attribute can be used (also * on a per-shape basis) to control the formatting used for various floating * point values (except color conversions). See {@link setPrecision} & * {@link convertTree}. * * The root `` element will contain XML namespace declarations for these * namespaces: * * - [svg (default * NS)](https://docs.thi.ng/umbrella/prefixes/variables/XML_SVG.html) * - [`xmlns:inkscape`](https://docs.thi.ng/umbrella/prefixes/variables/XML_INKSCAPE.html) * - [`xmlns:xlink`](https://docs.thi.ng/umbrella/prefixes/variables/XML_XLINK.html) * * @param attribs - attributes object * @param body - shape primitives */ export declare const svg: (attribs: Attribs, ...body: any[]) => any[]; //# sourceMappingURL=svg.d.ts.map