import { Ref } from 'vue';
export declare function elementOverflowsHorizontally(element: HTMLElement | null): boolean;
/**
 * Tracks whether the content of a single-line element is visually truncated.
 *
 * This can be used to set tooltips or other UI affordances when text is cut off.
 * Changing the width of the provided element based on this composable may result in an infinite loop!
 *
 * Note: This is intended for horizontal truncation (e.g. `text-overflow: ellipsis`).
 * It does not detect multi-line clamping.
 *
 * @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