import "reflect-metadata"; export declare function jsCallResolve(contextId: string, callbackId: string, args?: any): void; export declare function jsCallReject(contextId: string, callbackId: string, args?: any): void; export declare class Context { entity: any; id: string; callbacks: Map; classes: Map>; hookBeforeNativeCall(): void; hookAfterNativeCall(): void; constructor(id: string); callNative(namespace: string, method: string, args?: any): Promise; register(instance: Object): void; function2Id(func: Function): string; removeFuncById(funcId: string): void; } export declare function allContexts(): IterableIterator; export declare function jsObtainContext(id: string): Context | undefined; export declare function jsReleaseContext(id: string): void; export declare function __require__(name: string): any; export declare function jsRegisterModule(name: string, moduleObject: any): void; export declare function jsCallEntityMethod(contextId: string, methodName: string, args?: any): any; export declare function pureCallEntityMethod(contextId: string, methodName: string, args?: any): any; declare type ClassType = new (...args: any) => T; export declare function jsObtainEntry(contextId: string): () => ClassType | ((constructor: ClassType) => ClassType); export declare function jsCallbackTimer(timerId: number): void; export declare function jsHookAfterNativeCall(): void; export {};