import { Direction, EventMapKeys } from '../types';
export interface AnalyticsEventData {
    event_widget_id: string;
    event_post_id?: string;
    event_product_id?: string;
    event_direction?: Direction;
    event_position?: number;
}
export declare class Analytics {
    private static eventQueue;
    private static batchTimer;
    private static readonly BATCH_INTERVAL_MS;
    private static readonly IMMEDIATE_FLUSH_EVENTS;
    static trackEvent<K extends EventMapKeys>(params: {
        eventName: K;
        data: AnalyticsEventData;
    }): Promise<void>;
    private static clearBatchTimer;
    private static flushImmediately;
    private static sendBatch;
}
