import { Entity, FilterValues } from "@rebasepro/types"; /** * Forget every collection's scroll position and the rows kept with it. * * The rows are what the signed-in user was allowed to read, and a table seeds * its first render from them, so they must not outlive that user's session. */ export declare function clearCollectionScrollCache(): void; export type ScrollRestorationController = { getCollectionScroll: (path: string, filters?: FilterValues) => { scrollOffset: number; data: Entity[]; } | undefined; updateCollectionScroll: (props: { path: string; scrollOffset: number; filters?: FilterValues; data: Entity[]; }) => void; }; export declare function useScrollRestoration(): ScrollRestorationController;