import type { History as HistoryType } from "history";
import { useHistory, useLocation, useParams } from "react-router-dom";
import App from "../app";
export interface HistoryOptions {
    basename?: string;
}
export declare class History {
    instance: HistoryType<unknown>;
    useHistory: typeof useHistory;
    useLocation: typeof useLocation;
    useParams: typeof useParams;
    app: App;
    constructor(app: App, options?: HistoryOptions);
    push: HistoryType["push"];
    replace: HistoryType["replace"];
    reload: () => void;
    reloadTo: (path: string) => void;
    externalPage: (path: string) => void;
    goLogin: () => any;
}
