UNPKG

@trycourier/courier-react-native

Version:

Inbox, Push Notifications, and Preferences for React Native

17 lines 663 B
import { CourierTrackingEvent } from ".."; export declare class TrackingClient { readonly clientId: string; constructor(clientId: string); /** * Posts a tracking URL with associated event data. * @param props - The properties for posting the tracking URL. * @param props.url - The tracking URL to be posted. * @param props.event - The CourierTrackingEvent associated with the URL. * @returns A promise that resolves when the tracking URL is successfully posted. */ postTrackingUrl(props: { url: string; event: CourierTrackingEvent; }): Promise<void>; } //# sourceMappingURL=TrackingClient.d.ts.map