export interface AnalyticsOptions {
    trackingId?: string;
    endpoint?: string;
    debug?: boolean;
    beforeSend?: (event: any) => any | null;
}
interface EventData {
    [key: string]: any;
}
declare const track: (name: string, properties?: EventData) => void;
declare const page: (path?: string) => void;
export declare const inject: (options?: AnalyticsOptions) => void;
export declare const flush: () => Promise<void>;
export { track, page };
