type ScrollPos = [number, number]; type HistoryKeys = 'x' | 'y' | 'memo_timestamp' | 'is_navigating_history' | 'popstate_timestamp'; declare const getKey: (pos: HistoryKeys) => string; type HistoryState = Record | null; declare const setCurrentScrollHistory: ([x, y]: ScrollPos) => void; declare const getScrollFromState: (state: HistoryState) => ScrollPos | null; declare const getScrollTimestamp: (state: HistoryState) => number | null; declare const getPopstateTimestamp: (state: HistoryState) => number | null; declare const getIsNavigatingHistory: (state: HistoryState) => boolean; export { type HistoryState, type ScrollPos, getIsNavigatingHistory, getKey, getPopstateTimestamp, getScrollFromState, getScrollTimestamp, setCurrentScrollHistory };