import type { RefObject } from "react";
export declare const useAutoResizeText: ({ inputVal, inputRef, spanRef, }: {
    inputVal: string;
    inputRef: RefObject<HTMLInputElement | null>;
    spanRef: RefObject<HTMLSpanElement | null>;
}) => void;
