export type FitTextOptions = {
    /** Container width in px */
    maxWidth: number;
    /** Starting font size in px */
    baseFontSize: number;
    /** Floor font size in px */
    minFontSize: number;
    /** CSS font-weight */
    fontWeight: number;
    /** CSS font-family */
    fontFamily: string;
    /** Decrement step in px */
    step: number;
};
export type FitTextResult = {
    /** The computed font size that fits */
    fontSize: number;
    /** True if text fits at >= minFontSize */
    fits: boolean;
};
export declare function fitTextFontSize(text: string, options?: Partial<FitTextOptions>): FitTextResult;
//# sourceMappingURL=fitTextFontSize.d.ts.map