import { HttpClient } from '@angular/common/http';
import { StorageServiceService } from './storage.service';
import { StorageLike } from '../services/storage-like';
import { Router } from '@angular/router';
import * as i0 from "@angular/core";
export declare class AnalyticsService {
    private http;
    private platformId;
    private document;
    private readonly storageService;
    private API_URL;
    private storage;
    private router;
    private eventQueue;
    private BATCH_SIZE;
    private FLUSH_INTERVAL;
    private currentPage;
    private currentContextMetadata;
    private contextStartTime;
    private contextActiveTime;
    private currentEvent;
    constructor(http: HttpClient, platformId: Object, document: Document, storageService: StorageServiceService, API_URL: string, storage: StorageLike, router: Router);
    startNewContext(metadata: any, event: string): void;
    getCurrentContext(): any;
    private closeCurrentContext;
    private listenToRouteChange;
    trackUser(event: any, eventType: string): void;
    private startAutoFlush;
    private flush;
    private listenToUnload;
    static ɵfac: i0.ɵɵFactoryDeclaration<AnalyticsService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AnalyticsService>;
}
