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;
}
