import type { ReactNativeTracker } from '@snowplow/react-native-tracker'; import type { OrderEventPayload, PageViewEventPayload } from '../types/tracking'; /** * Stops a tracker because consent was withdrawn. As in 0.1.x, events Snowplow * already holds are still delivered and its stored queue and session are kept; * a plain `controller.abort()` discards them. */ export declare const abortForConsentWithdrawal: (controller: AbortController) => void; export type FashionTracker = { trackSelfDescribingEvent: ReactNativeTracker['trackSelfDescribingEvent']; trackPageViewEvent: (event: PageViewEventPayload, contexts?: Parameters[1]) => void; trackEcommerceTransactionEvent: (event: OrderEventPayload) => void; }; export type TrackerOptions = { appVersion?: string; appBuild?: string; }; export declare const createTracker: (appId: string, domain: string, networkUserId: string | null, signal: AbortSignal, application?: TrackerOptions) => Promise;