coolink
Version:
Coocaa Coolink APP JavaScript library
13 lines (12 loc) • 608 B
TypeScript
import { BridgeParams } from '../types/type';
declare function isBrowser(): boolean;
declare function processNativeCallBack(str: string): void;
declare function callNative(bridgeParams: BridgeParams): Promise<any>;
declare function callNativeWithPersistentCallBack(bridgeParams: BridgeParams, methodId: string, callback: Function): void;
declare const _default: {
callNative: typeof callNative;
isBrowser: typeof isBrowser;
processNativeCallBack: typeof processNativeCallBack;
callNativeWithPersistentCallBack: typeof callNativeWithPersistentCallBack;
};
export default _default;