import { PathRecord, Location, Blocker } from '../types'; import BaseHistory, { PushOptions, BaseHistoryOptions } from './base'; export type BrowserHistoryOptions = BaseHistoryOptions; export default class BrowserHistory extends BaseHistory { private _history; constructor({ basename }?: BrowserHistoryOptions); push(to: PathRecord, { state, redirectedFrom }?: PushOptions): void; replace(to: PathRecord, { state, redirectedFrom }?: PushOptions): void; go(delta: number): void; block(blocker: Blocker): () => void; setup(): void; protected getIndexAndLocation(): [number, Location]; }