UNPKG

@reclaimprotocol/zk-symmetric-crypto

Version:
11 lines (10 loc) 383 B
import type { MakeZKOperatorOpts, ZKOperator } from '../types.ts'; export type ExpanderOpts = { /** * Number of parallel workers to use. * Set to 0 to disable parallelism. * @default 0 */ maxWorkers?: number; }; export declare function makeExpanderZkOperator({ algorithm, fetcher, options: { maxWorkers } }: MakeZKOperatorOpts<ExpanderOpts>): ZKOperator;