declare namespace _exports { export { SvgNodeDef }; } declare namespace _exports { export function ocadToSvg(ocadFile: import("./ocad-reader/ocad-file"), options: any): Text | SVGElement; export { patternToSvg }; export { createSvgNode }; } export = _exports; type SvgNodeDef = { type: string; text?: string | undefined; id?: string | undefined; order?: number | undefined; attrs?: Record | undefined; children?: SvgNodeDef[] | undefined; }; declare function patternToSvg(colors: any, s: any): ({ id: string; 'data-symbol-name': any; type: string; attrs: { patternUnits: string; patternTransform: string; width: number; height: any; }; children: { type: string; attrs: { x: number; y: number; width: number; height: any; fill: any; }; }[]; } | { id: string; 'data-symbol-name': any; type: string; attrs: { patternUnits: string; patternTransform: string; width: any; height: number; }; children: any; })[]; /** * @typedef {object} SvgNodeDef * @property {string} type * @property {string=} text * @property {string=} id * @property {number=} order * @property {Record=} attrs * @property {SvgNodeDef[]=} children */ /** * * @param {Document} document * @param {SvgNodeDef} n * @returns */ declare function createSvgNode(document: Document, n: SvgNodeDef): Text | SVGElement;