type ScrollPosition = { x: number; y: number; }; export declare function useScrollPosition(): readonly [{ x: number; y: number; }, (position: Partial) => void]; export type { ScrollPosition };