UNPKG

@demox-labs/aleo-sdk

Version:
18 lines (12 loc) 548 B
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module; export type InitOutput = typeof import("./aleo_wasm"); export interface InitOptions { serverPath?: string; importHook?: (path: string) => InitInput | Promise<InitInput>; initializeHook?: ( init: (path: InitInput | Promise<InitInput>, memory?: WebAssembly.Memory) => void, path: InitInput | Promise<InitInput>, ) => Promise<void>; } declare const init: (options?: InitOptions) => Promise<InitOutput>; export default init;