import type { ComputedRef, ShallowRef } from 'vue'; import type { Coord } from '../types/geometry.js'; export type PlacementVertical = 'top' | 'bottom' | 'center' | 'auto'; export type PlacementHorizontal = 'left' | 'center' | 'right' | 'auto-side'; type UseStickyToolbarOptions = { getPlacementY?: () => PlacementVertical; getPlacementX?: () => PlacementHorizontal; shouldUpdate?: () => boolean; getWidth?: () => number; getHeight?: () => number; getMargin?: () => number; getAnchorElement?: () => HTMLElement | null; getAnchorCoordinates?: () => Coord | null; getCaretWidth?: () => number; allowHorizontalOverflow?: boolean; isFullscreen?: () => boolean; }; type UseStickyToolbar = { shouldRender: ComputedRef; placementY: ComputedRef<'top' | 'bottom' | 'center'>; placementX: ComputedRef<'left' | 'center' | 'right'>; caretX: ComputedRef; }; export declare function useStickyToolbar(el: Readonly>, options?: UseStickyToolbarOptions): UseStickyToolbar; export {};