zkverifyjs
Version:
Submit proofs to zkVerify and query proof state with ease using our npm package.
12 lines • 555 B
TypeScript
import { ProofOptions } from '../../config/index.js';
import { RuntimeSpec } from '../../types.js';
/**
* Validates the options provided for a given proof type.
*
* @param options - The proof options to validate.
* @param runtimeSpec - Runtime spec for version-dependent validation.
* @returns The validated options, with runtime-version defaults applied.
* @throws {Error} - If validation fails.
*/
export declare function validateProofTypeOptions(options: ProofOptions, runtimeSpec: RuntimeSpec): ProofOptions;
//# sourceMappingURL=index.d.ts.map