export type TOptions = {
    maxFontSize?: number;
    minFontSize?: number;
    onFinish?: (fontSize: number) => void;
    onStart?: () => void;
    resolution?: number;
};
declare const useFitText: ({ maxFontSize, minFontSize, onFinish, onStart, resolution }?: TOptions) => {
    fontSize: number;
    ref: import("react").RefObject<HTMLDivElement | null>;
};
export default useFitText;
