interface RequestInfo extends RequestInit {
    headers: Record<string, any>;
}
interface AnalyticsConfig {
    bodyParams?: Record<string, any>;
    client: (endpoint: string, request: RequestInfo) => void;
    endpoint: string;
    headers?: Object;
}
export interface IAnalytics {
    bodyParams: Record<string, any>;
    client: (endpoint: string, request: RequestInfo) => void;
    endpoint: string;
    headers: Object;
    trackEvent: (event: string, properties: Record<string, any>) => void;
}
export declare class Analytics implements IAnalytics {
    bodyParams: Record<string, any>;
    client: (endpoint: string, request: RequestInfo) => void;
    endpoint: string;
    headers: Object;
    constructor({ bodyParams, client, endpoint, headers, }: AnalyticsConfig);
    trackEvent(event: string, properties?: Record<string, any>): void;
}
export {};
