cozy-intent
Version:
Event-based library allowing interactions between React-Native and React applications
10 lines (9 loc) • 485 B
TypeScript
import { Connection, EventsType, MethodsType } from 'post-me';
import { NativeMethodsRegister } from '../../api';
export declare class WebviewService {
private close;
private remoteHandle;
constructor(connection: Connection<MethodsType, EventsType, NativeMethodsRegister, EventsType>);
call: (methodName: keyof NativeMethodsRegister, ...args: Parameters<NativeMethodsRegister[keyof NativeMethodsRegister]>) => Promise<boolean | null>;
closeMessenger: () => void;
}