import { type Dimension } from "./dimension.js"; /** * Measures the width and height of a text string. * Results are cached to improve performance. * * @param text - The text string to measure. * @returns The width and height of the text. */ export declare const measureText: (text: string) => Dimension;