export type FitLabelParams = { text: string; width: number; height: number; maxFontSize: number; minFontSize: number; fontWeight: number | string; fontStyle: string; fontFamily: string; letterSpacing: number; lineHeight: number; maxLines: number; locale: string; }; export declare const lastFitLabelSize: (params: Omit) => number; /** Largest size in [min, max] that fits `width` × `height` in `maxLines`. One prepare, one width read. */ export declare function fitLabelFontSize(params: FitLabelParams): number;