import EventEmitter from 'eventemitter3'; import { NativeCaller } from './NativeCaller'; export declare class NativeProxy { eventEmitter: EventEmitter; protected nativeCaller: NativeCaller; protected eventSubscriptions: Map; private cachedEventHandler; [k: string]: unknown; constructor(nativeCaller: NativeCaller); get framework(): string; get frameworkVersion(): string; subscribeForEvents(events: string[]): Promise; unsubscribeFromEvents(events: string[]): Promise; dispose(): Promise; _call(fnName: string, args: object | undefined | null): Promise; _callEventRegistration(fnName: string, args: object | undefined | null): Promise; private _registerEvent; private _unregisterEvent; } export declare function createNativeProxy(nativeCaller: NativeCaller): PROXY;