export { changeUrl }; export { onPopStateBegin }; export { undoHistoryNavigation }; export { saveScrollPosition }; export { initHistory }; export { historyApiReplaceStateOriginal }; export type { HistoryInfo }; export type { ScrollPosition }; import '../assertEnvClient.js'; declare function changeUrl(url: string, overwriteLastHistoryEntry: boolean): void; declare function historyApiReplaceStateOriginal(state: unknown, url?: Parameters[2]): void; declare function undoHistoryNavigation(isBackwardNavigation: boolean | null): void; declare function onPopStateBegin(): { skip: true; previous?: undefined; current?: undefined; } | { skip?: undefined; previous: HistoryInfo; current: HistoryInfo; }; type ScrollPosition = { x: number; y: number; }; declare function saveScrollPosition(scrollPosition?: ScrollPosition): void; declare function initHistory(): void; type StateEnhanced = { vike: { timestamp: number; scrollPosition: null | ScrollPosition; triggeredBy: 'user' | 'vike' | 'browser'; }; }; type HistoryInfo = { url: `/${string}`; state: StateEnhanced; index: null | number; };