/// <reference types="react" />
type UseIsTruncatedProps = {
    disabled?: boolean;
    /** To avoid rounding errors, we can require that the truncation is at least a certain number of pixels */
    tolerance?: number;
};
export declare const useIsTruncated: <E extends Element>({ disabled, tolerance, }?: UseIsTruncatedProps) => {
    isTruncated: boolean;
    ref: import("react").MutableRefObject<E | null>;
};
export declare const useAreAnyTruncated: <E extends Element>({ disabled, tolerance, }?: UseIsTruncatedProps) => {
    areAnyTruncated: boolean;
    ref: import("react").MutableRefObject<Map<string, E>>;
};
export {};
