import type { History } from 'history';
import type { ActionObject, RendererEnv } from 'jamis-core';
import type { Match } from 'path-to-regexp';
export declare const getRouterHistory: () => History<unknown>;
export declare const setRouterHistory: (history: History) => History<unknown>;
export declare const setEnv: (env: RendererEnv) => void;
export declare const isCurrentUrl: (to: string, ctx?: {
    strict?: boolean;
    end?: boolean;
    pathname?: string;
    [key: string]: any;
}) => Match<object> | boolean;
export declare const updateLocation: (to: string, replace: boolean) => any;
/**
 * 路由跳转的关键方法
 */
export declare const jumpTo: (to: string, action?: ActionObject) => void;
