UNPKG

@sudoo/marked

Version:

JavaScript & TypeScript code runner in JavaScript, safe with marked territory, asynchronous

11 lines (10 loc) 419 B
/** * @author WMXPY * @namespace Util * @description Import */ import * as EST from "estree"; import { IScope, ITrace } from "../declare/variable"; import { Sandbox } from "../marked/sandbox"; import { Flag } from "../variable/flag"; export declare const resolveImport: (this: Sandbox, source: string, node: EST.ImportDeclaration, scope: IScope, currentTrace: ITrace, nextTrace: ITrace) => Promise<boolean | Flag>;