UNPKG

@snowplow/react-native-tracker

Version:
10 lines 876 B
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