import { Action, History, Location } from 'history'; import { MatchResult } from './helpers/match'; export declare type RoutingState = { location: Location; action: Action; isFirstRendering: boolean; }; export declare class RoutingService { history: History; inTimeTravelling: boolean; state: RoutingState; readonly url: string; readonly pathname: string; readonly search: string; goto(data: any, params?: { [key: string]: any; }): void; rewind(): void; forward(): void; replace(data: any, params?: { [key: string]: any; }): void; match: (pattern: string, options?: { exact?: boolean; sensitive?: boolean; strict?: boolean; }) => MatchResult; proceed: () => void; private act; private setParams; }