import { IDevice, IPage, IEvent, EProject } from '@jolibox/common'; /** * Base class for event tracker, all the event tracker should inherit from this class * Send event to oss reporter * @abstract */ export declare abstract class EventTracker { readonly apiHost: string; deviceInfo: IDevice | null; abstract doReport(event: unknown[]): void; abstract doReport>(event: unknown[], extra: T): void; abstract doReport>(event: unknown[], extra?: T): void; private samplesConfig; constructor(apiHost: string); private fetchSamplesConfig; private checkIsSampled; getDevice(): IDevice; getLocation(): IPage; trackEvent(event: IEvent, project: EProject, extraInfo?: Record): Promise; }