import { Ref } from 'vue';
export declare function elementOverflowsHorizontally(element: HTMLElement | null): boolean;
export declare function elementOverflowsVertically(element: HTMLElement | null): boolean;
/**
 * Tracks whether the content of an element is visually truncated.
 *
 * Detects both horizontal truncation (e.g. `text-overflow: ellipsis`)
 * and vertical truncation (e.g. `-webkit-line-clamp`).
 *
 * This can be used to set tooltips or other UI affordances when text is cut off.
 * Changing the size of the provided element based on this composable may result in an infinite loop!
 *
 * @param elementRef - A ref pointing to the element that might be truncated.
 * @returns An object containing a reactive `isTruncated` ref.
 */
export declare function useKdsIsTruncated(elementRef: Ref<HTMLElement | null>): {
    isTruncated: Ref<boolean, boolean>;
};
//# sourceMappingURL=useKdsIsTruncated.d.ts.map