export declare enum HistoryType { push = "PUSH", back = "BACK", forward = "FORWARD", replace = "REPLACE" } export interface HistoryEvent { type: string; from: string; to: string; } export declare class History { private window; entries: string[]; events: HistoryEvent[]; onEvent: import("../../../../kit/dist/event-stream/beacon").Beacon; document: Document; onPop: () => void; get lastEvent(): HistoryEvent; get currentEvent(): HistoryEvent; get lastRoute(): string; get currentRoute(): string; constructor(window?: Window); destroy(): void; push(path: string): void; pop(): void; replace(path: string): void; }