trusted-setup-server/lib/phase2/phase2.d.ts

19 lines
572 B
TypeScript
Raw Permalink Normal View History

2020-01-29 14:20:11 +01:00
/* tslint:disable */
/* eslint-disable */
/**
* @param {Uint8Array} params
2020-03-11 11:08:01 +01:00
* @param {Uint8Array} entropy
2020-01-29 14:20:11 +01:00
* @returns {Uint8Array}
*/
2020-03-11 11:08:01 +01:00
export function contribute(params: Uint8Array, entropy: Uint8Array): Uint8Array;
2020-01-29 14:20:11 +01:00
/**
* 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>;