1 | import { RouterHistory } from '../global/interfaces';
|
2 | export interface CreateHashHistoryOptions {
|
3 | getUserConfirmation?: (message: string, callback: (confirmed: boolean) => {}) => {};
|
4 | hashType?: 'hashbang' | 'noslash' | 'slash';
|
5 | basename?: string;
|
6 | keyLength?: number;
|
7 | }
|
8 | declare const createHashHistory: (win: Window, props?: CreateHashHistoryOptions) => RouterHistory;
|
9 | export default createHashHistory;
|