import type { QuickJSContext, QuickJSHandle } from 'quickjs-emscripten-core'; export default function unmarshalFunction(ctx: QuickJSContext, handle: QuickJSHandle, /** marshal returns handle and boolean indicates that the handle should be disposed after use */ marshal: (value: unknown) => [QuickJSHandle, boolean], unmarshal: (handle: QuickJSHandle) => [unknown, boolean], preUnmarshal: (target: T, handle: QuickJSHandle) => T | undefined): Function | undefined;