import type { QuickJSContext, QuickJSHandle } from 'quickjs-emscripten-core'; export default class VMMap { ctx: QuickJSContext; _map1: Map; _map2: Map; _map3: Map; _map4: Map; _counterMap: Map; _disposables: Set; _mapGet: QuickJSHandle; _mapSet: QuickJSHandle; _mapDelete: QuickJSHandle; _mapClear: QuickJSHandle; _counter: number; constructor(ctx: QuickJSContext); set(key: any, handle: QuickJSHandle, key2?: any, handle2?: QuickJSHandle): boolean; merge(iteratable: Iterable<[any, QuickJSHandle | undefined] | [any, QuickJSHandle | undefined, any, QuickJSHandle | undefined]> | undefined): void; get(key: any): QuickJSHandle | undefined; getByHandle(handle: QuickJSHandle): any; has(key: any): boolean; hasHandle(handle: QuickJSHandle): boolean; keys(): IterableIterator; delete(key: any, dispose?: boolean): void; deleteByHandle(handle: QuickJSHandle, dispose?: boolean): void; clear(): void; dispose(): void; get size(): number; [Symbol.iterator](): Iterator<[any, QuickJSHandle, any, QuickJSHandle | undefined]>; _get2(num: number): any; _call(fn: QuickJSHandle, thisArg: QuickJSHandle | undefined, ...args: QuickJSHandle[]): QuickJSHandle; }