import { RefObject } from 'react'; export type OverflowEdge = { /** How many tiles are not fully in view past this edge. Zero means no arrow. */ hiddenCount: number; }; export type ScrollOverflow = { left: OverflowEdge; right: OverflowEdge; scrollByPage: (direction: -1 | 1) => void; }; /** * Tracks which attachment tiles are scrolled out of view. The strip hides its scrollbar, so * these counts are the only overflow signal the arrows (and their tooltips) have. */ export declare const useScrollOverflow: (scrollerRef: RefObject, items: readonly unknown[]) => ScrollOverflow; //# sourceMappingURL=useScrollOverflow.d.ts.map