UNPKG

@builder.io/sdk-vue

Version:
12 lines (11 loc) 588 B
import type { IsolateOptions } from 'isolated-vm'; import type { ExecutorArgs } from '../helpers'; type IsolatedVMImport = typeof import('isolated-vm'); /** * Set the `isolated-vm` instance to be used by the node runtime. * This is useful for environments that are not able to rely on our * `safeDynamicRequire` trick to import the `isolated-vm` package. */ export declare const setIvm: (ivm: IsolatedVMImport, options?: IsolateOptions) => void; export declare const runInNode: ({ code, builder, context, event, localState, rootSetState, rootState }: ExecutorArgs) => any; export {};