@snowplow/react-native-tracker
Version:
React Native tracker for Snowplow
10 lines • 876 B
TypeScript
import { PageViewEvent, SelfDescribingJson, TrackerCore } from '@snowplow/tracker-core';
import { EventContext, MessageNotificationProps, StructuredProps, TimingProps } from './types';
export declare function newTrackEventFunctions(core: TrackerCore): {
trackSelfDescribingEvent: <T extends Record<string, unknown> = Record<string, unknown>>(argmap: SelfDescribingJson<T>, contexts?: EventContext[] | undefined) => void;
trackStructuredEvent: (argmap: StructuredProps, contexts?: EventContext[] | undefined) => unknown;
trackPageViewEvent: (argmap: PageViewEvent, contexts?: EventContext[] | undefined) => unknown;
trackTimingEvent: (argmap: TimingProps, contexts?: EventContext[] | undefined) => void;
trackMessageNotificationEvent: (argmap: MessageNotificationProps, contexts?: EventContext[] | undefined) => void;
};
//# sourceMappingURL=events.d.ts.map