import { type RefObject } from 'react'; import type { TableVirtualizerInstance } from '../../TableContext/types'; interface UseInitialAnchorOptions { initialScrollToRowId?: string; rows: { id: string; }[]; virtualizerRef: RefObject; } /** * Scrolls to the anchor row once on mount and returns `ready`, which gates the * edge detectors until the initial scroll has settled. Without this, a table * mounted at scrollTop 0 would fire `onStartReached` immediately. */ export declare const useInitialAnchor: ({ initialScrollToRowId, rows, virtualizerRef, }: UseInitialAnchorOptions) => boolean; export {};