/** * Binary-searches the longest prefix of `text` (plus an ellipsis) that fits within `maxWidth` * px when rendered by `el`, using the SVG `getComputedTextLength()` API for exact measurement — * `text-overflow: ellipsis` doesn't apply to raw SVG `` nodes. * * Mutates `el.textContent` during measurement; the caller's next render (driven by the * returned string going into state) overwrites it with the final value. */ export declare function truncateSvgTextToWidth(el: SVGTextElement, text: string, maxWidth: number): string;