export declare class HistoryService {
    private _emiter;
    constructor();
    get currentId(): string;
    linkForId(id: string): string;
    subscribe(cb: any): () => void;
    emit: () => void;
    bind(): void;
    dispose(): void;
    replace(id: string | null, rewriteHistory?: boolean): void;
}
export declare const history: HistoryService;
