import type { Ref } from 'vue'; export type UseToolbarScrollOptions = { viewportEl: Readonly>; contentEl: Readonly>; }; /** * Drives horizontal scroll of the actions toolbar's inner content via a * transform translate, exposing arrow visibility flags and press-and-hold * scroll controls. * * The viewport caps at the editor's safe area on desktop; when the content * (icons, options, action buttons) is wider, the user scrolls by pressing * and holding the arrow buttons rendered on the viewport edges. The * underlying transform is applied without a CSS transition so selection * changes don't animate back to zero. Mobile is unaffected — the options * strip keeps its own native horizontal overflow there. */ export declare function useToolbarScroll(options: UseToolbarScrollOptions): { scrollX: any; showLeft: any; showRight: any; isOverflowing: any; startScroll: (direction: -1 | 1) => void; stopScroll: () => void; scrollIntoView: (element: HTMLElement) => void; };