import { type Ref } from 'vue'; /** Accept Ref so untyped useTemplateRef() can be passed. */ interface UseVisibleElementsWidthOptions { actionsContainerRef: Ref; overflowIds: Ref>; } /** * Computes the total width of currently visible MoreActions items from live DOM layout. * Use from mounted client components only; does not run on the server. */ export declare function useVisibleElementsWidth({ actionsContainerRef, overflowIds }: UseVisibleElementsWidthOptions): { visibleElementsWidth: Ref; isRecalculatingWidth: Ref; isRecalculatingWithDelay: Ref; calculateVisibleElementsWidth: () => void; calculateVisibleElementsWidthDelayed: () => void; cleanup: () => void; }; export {};