UNPKG

airbridge-react-native-sdk

Version:

Airbridge SDK for React Native

17 lines (16 loc) 636 B
export declare const createDependency: { (): void; WebInterfaceModule(): { interactor: WebInterfaceInteractor; }; }; type WebInterfaceInteractor = { createWebInterfaceScript(webToken: string, postMessageScript: string): Promise<string>; handleWebInterfaceCommand(command: string): void; }; export type WebInterfaceModule = ReturnType<typeof createWebInterfaceModule>; export declare const createWebInterfaceModule: () => { createWebInterfaceScript: (webToken: string, postMessageScript: string) => Promise<string | undefined>; handleWebInterfaceCommand: (command: string) => undefined; }; export {};