import { EventDispatcherConfig, Event } from "@hackler/sdk-core";
export declare type EventDispatcherResponse = {
    statusCode: number;
};
export declare type EventDispatcherCallback = (response: EventDispatcherResponse) => void;
export default class EventDispatcher {
    private readonly sdkKey;
    private readonly headers;
    private readonly dispatchUrl;
    private readonly beaconDispatchUrl;
    private readonly useBeacon;
    constructor(sdkKey: string, config: EventDispatcherConfig);
    dispatch<T>(events: Event[], callback: EventDispatcherCallback): void;
    dispatchXhrOrBeacon<T>(events: Event[], callback: EventDispatcherCallback): void;
}
//# sourceMappingURL=EventDispatcherImpl.d.ts.map