import type { Ref } from 'vue'; /** * Composable for detecting text truncation within an HTML element. * This composable observes the element for changes in size or content and updates * the truncation status accordingly. * It creates a clone of the element without line clamping to measure its natural height. * It also creates a clone of the parent element to measure the natural height of the text without line clamping. * It uses a custom DSAV CSS class to measure the natural height of the text. * @param elementRef The reference to the HTML element to check for text truncation. * @returns An object containing `isTruncated`, a ref indicating if the text is truncated. */ export declare function useTextTruncation(elementRef: Ref): { isTruncated: Ref; };