@amplitude/analytics-core
Version:
10 lines • 971 B
TypeScript
import { IIdentify } from '../identify';
import { IRevenue } from '../revenue';
import { BaseEvent, EventOptions } from '../types/event/base-event';
import { TrackEvent, IdentifyEvent, GroupIdentifyEvent, RevenueEvent } from '../types/event/event';
export declare const createTrackEvent: (eventInput: BaseEvent | string, eventProperties?: Record<string, any>, eventOptions?: EventOptions) => TrackEvent;
export declare const createIdentifyEvent: (identify: IIdentify, eventOptions?: EventOptions) => IdentifyEvent;
export declare const createGroupIdentifyEvent: (groupType: string, groupName: string | string[], identify: IIdentify, eventOptions?: EventOptions) => GroupIdentifyEvent;
export declare const createGroupEvent: (groupType: string, groupName: string | string[], eventOptions?: EventOptions) => IdentifyEvent;
export declare const createRevenueEvent: (revenue: IRevenue, eventOptions?: EventOptions) => RevenueEvent;
//# sourceMappingURL=event-builder.d.ts.map