import { ComputedCallback } from './useComputedCallback'; import { BrowserHistory, MemoryHistory } from 'history'; export declare const useRouter: (historyValue: ComputedCallback) => { readonly replace: (to: import("history").To, state?: import("history").State | undefined) => void; readonly push: (to: import("history").To, state?: import("history").State | undefined) => void; readonly location: { readonly state: import("history").State; readonly key: string; readonly pathname: string; readonly search: string; readonly hash: string; }; readonly block: (blocker: import("history").Blocker) => () => void; readonly action: import("history").Action; readonly forward: () => void; readonly back: () => void; readonly listen: (listener: import("history").Listener) => () => void; readonly createHref: (to: import("history").To) => string; readonly go: (delta: number) => void; };