import type { FileSystemSpec, WASIBindings } from "@wapython/wasi";
import WasmInstance from "./instance";
export interface Options {
    noWasi?: boolean;
    wasmEnv?: object;
    env?: {
        [name: string]: string;
    };
    fs?: FileSystemSpec[];
    time?: boolean;
    init?: (wasm: WasmInstance) => void | Promise<void>;
    traceSyscalls?: boolean;
    traceStubcalls?: "first" | true;
}
declare type WasmImportFunction = (name: string, source: any, bindings: WASIBindings, options?: Options) => Promise<WasmInstance>;
declare const wasmImport: WasmImportFunction;
export default wasmImport;
