import type { VKBridgeSubscribeHandler, AnyRequestMethodName, RequestProps, RequestIdProp, ReceiveData, AnyReceiveMethodName } from './types/bridge.ts'; /** * Returns send function that returns promises. * * @param sendEvent Send event function. * @param subscribe Subscribe event function. * @param instanceId Uniq bridge instance ID. * @returns Send function which returns the Promise object. */ export declare function promisifySend(sendEvent: (method: K, props?: RequestProps & RequestIdProp) => void, subscribe: (fn: VKBridgeSubscribeHandler) => void, instanceId: string): (method: K, props?: RequestProps & RequestIdProp) => Promise : void>; //# sourceMappingURL=promisifySend.d.ts.map