airbridge-react-native-sdk
Version:
Airbridge SDK for React Native
17 lines (16 loc) • 520 B
TypeScript
import { NativeEventEmitter } from 'react-native';
export declare const createDependency: {
(): void;
AttributionModule(): {
emitter: NativeEventEmitter;
interactor: AttributionInteractor;
};
};
type AttributionInteractor = {
listen(): void;
};
export type AttributionModule = ReturnType<typeof createAttributionModule>;
export declare const createAttributionModule: () => {
setOnAttributionReceived: (onReceived: (attribution: Record<string, string>) => void) => void;
};
export {};