trusted-setup-server/lib/phase2/phase2.d.ts
2020-01-29 16:20:11 +03:00

18 lines
520 B
TypeScript

/* tslint:disable */
/* eslint-disable */
/**
* @param {Uint8Array} params
* @returns {Uint8Array}
*/
export function contribute(params: Uint8Array): Uint8Array;
/**
* If `module_or_path` is {RequestInfo}, makes a request and
* for everything else, calls `WebAssembly.instantiate` directly.
*
* @param {RequestInfo | BufferSource | WebAssembly.Module} module_or_path
*
* @returns {Promise<any>}
*/
export default function init (module_or_path?: RequestInfo | BufferSource | WebAssembly.Module): Promise<any>;