klaviyo-react-native-sdk
Version:
Official Klaviyo React Native SDK
24 lines (22 loc) • 711 B
text/typescript
import type { KlaviyoEventAPI } from './Event';
import type { KlaviyoProfileApi } from './Profile';
import type { KlaviyoPushApi } from './Push';
import type { KlaviyoFormsApi } from './Forms';
/**
* The Klaviyo React Native SDK Interface
*
* This interface extends the KlaviyoEventAPI and KlaviyoProfileApi interfaces,
* providing a unified API for interacting with Klaviyo's event tracking and profile management features.
*/
export interface KlaviyoInterface
extends KlaviyoEventAPI,
KlaviyoProfileApi,
KlaviyoPushApi,
KlaviyoFormsApi {
/**
* Initializes the Klaviyo SDK with the given API key.
*
* @param apiKey Your public API key
*/
initialize(apiKey: string): void;
}