UNPKG

@spedn/sdk

Version:

Spedn compiler SDK

12 lines 530 B
import { Disposable, Module, PortableModule, Rts } from "@spedn/rts"; type Vm = "bch" | "btc" | "xec" | "xpi"; export declare class Spedn implements Disposable { private bridge; compileCode(target: Vm, code: string): Promise<PortableModule>; compileCode(target: Vm, code: string, rts: Rts): Promise<Module>; compileFile(target: Vm, file: string): Promise<PortableModule>; compileFile(target: Vm, file: string, rts: Rts): Promise<Module>; dispose(): void; } export {}; //# sourceMappingURL=compiler.d.ts.map