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