import type { Label } from '../text/label.js'; import type { IconResolver } from '../types.js'; export type { IconResolver }; export declare const RE_INVALID_XML: RegExp; export declare function esc(text: string): string; export declare function escText(text: string): string; export declare function num(value: number): string; export declare function labelSvg(label: Label, cx: number, cy: number, attrs: string, icons?: IconResolver): string; export declare function spanStyle(style: number): string; export declare function sharedStyle(label: Label): number; export declare function textStyle(attrs: string, shared: number): string;