import { HistoryEntry } from '../types'; interface UseBrowserHistoryOptions { initialUrl?: string; initialHtml?: string | null; } export declare const useBrowserHistory: ({ initialUrl, initialHtml }: UseBrowserHistoryOptions) => { history: HistoryEntry[]; currentIndex: number; currentEntry: HistoryEntry; navigateTo: (newUrl: string, newHtml?: string | null) => void; goBack: () => void; goForward: () => void; pushErrorEntry: (url: string) => void; setHistory: import('react').Dispatch>; setCurrentIndex: import('react').Dispatch>; }; export {};