declare class Go { importObject: Record; argv: string[]; exit: (code: any) => void; private _exitPromise; private _resolveExitPromise; private _pendingEvent; private _scheduledTimeouts; private _nextCallbackTimeoutID; mem: any; private _values; private _ids; private _idPool; private _goRefCounts; private _inst; exited: boolean | undefined; env: any; constructor(); run(instance: any): Promise; _resume(): void; _makeFuncWrapper(id: any): any; } export declare const loadGoGlueCode: () => void; export default Go;