/**
* Decodes HTML entities without a DOM, for headless/server-side rendering where
* `DOMParser` may be absent. Handles numeric (` `/` `) and the common
* named entities above; unknown or out-of-range entities are left as-is.
* Exported for testing; not part of the package's public API.
* @param {String} input tag-stripped text
*/
export declare function decodeEntities(input: string): string;
/**
Given a text string, returns the predicted pixel width of the string when placed into DOM.
@param text The text string to measure.
@param style CSS style properties to apply when measuring.
*/
export default function (text: string, style?: Record): number;
export default function (text: string[], style?: Record): number[];