import type * as React from 'react'; export interface SVGCSSProperties extends Omit { dominantBaseline?: React.SVGAttributes['dominantBaseline']; } export declare function clearStringMeasurementCache(): void; /** * Converts a style object into a string to be used as a cache key * @param style React style object * @returns CSS styling string */ export declare function getStyleString(style: SVGCSSProperties): string; /** * * @param text The string to estimate * @param style The style applied * @returns width and height of the text */ export declare const getStringSize: (text: string | number, style?: SVGCSSProperties) => { width: number; height: number; }; export declare function batchMeasureStrings(texts: Iterable, style?: SVGCSSProperties): Map;