1 | import { History, LocationState } from './index';
|
2 | import { getConfirmation } from './DOMUtils';
|
3 |
|
4 | export type HashType = 'hashbang' | 'noslash' | 'slash';
|
5 |
|
6 | export interface HashHistoryBuildOptions {
|
7 | basename?: string;
|
8 | hashType?: HashType;
|
9 | getUserConfirmation?: typeof getConfirmation;
|
10 | }
|
11 |
|
12 | export default function createHashHistory<S = LocationState>(options?: HashHistoryBuildOptions): History<S>;
|