import { type RefObject } from 'react'; /** * Hook to check if text is overflowing a container. * * @param text - The text to check. * * @param ref - The ref of the container. * * @param subtractWidth - The width to subtract from the container width. */ export declare const useIsTextOverflowed: (text: string, ref: RefObject, subtractWidth?: number) => boolean;