import { BaseHistory, HistoryOption } from 'base-history'; import * as native from 'web/service/native'; export declare const historyOptions: { replace: { replace: boolean; }; webview: { webview: boolean; }; origin: { origin: boolean; }; tab: { tab: boolean; }; }; export interface Config { visit: any; router?: any; baseUrl?: any; } export declare class History implements BaseHistory { native: typeof native; constructor(); static init: (conf: Config) => void; static listen: (path: any) => void; go: (url: any, params?: any, option?: any) => any; goTo: (path: any, query: any, option: any) => any; nativeGo: (url: any, toParams: any, option: any) => void; originGo: (url: any, params?: any, option?: any) => void; setRoot: (path: any, query?: any) => Promise<{}>; tabTo: (path: any, query?: any) => Promise<{}>; push: (path: any, query?: any) => Promise<{}>; replaceTo: (path: any, query?: any) => Promise<{}>; popTo: (historyIndex: any) => any; goBack: (step: any) => any; filterOption: (option: string | number | HistoryOption) => HistoryOption; isMatchBaseUrl: (url: any) => boolean; _indexOf: (path: any) => any; length: () => any; }