import { R1CS } from 'crypto-wasm-new'; import { BBSPlusPublicKeyG2, BBSPlusSignatureParamsG1 } from '../bbs-plus'; import { SaverChunkedCommitmentKey, SaverChunkedCommitmentKeyUncompressed, SaverEncryptionGens, SaverEncryptionGensUncompressed, SaverEncryptionKey, SaverEncryptionKeyUncompressed, SaverProvingKey, SaverVerifyingKey, SaverProvingKeyUncompressed, SaverVerifyingKeyUncompressed } from '../saver'; import { LegoProvingKey, LegoProvingKeyUncompressed, LegoVerifyingKey, LegoVerifyingKeyUncompressed } from '../legosnark'; import { AccumulatorParams, AccumulatorPublicKey, MembershipProvingKey, NonMembershipProvingKey } from '../accumulator'; import { BytearrayWrapper } from '../bytearray-wrapper'; import { BBSSignatureParams } from '../bbs'; import { PSPublicKey, PSSignatureParams } from '../ps'; import { ParsedR1CSFile } from '../r1cs/file'; import { BoundCheckBppParams, BoundCheckBppParamsUncompressed, BoundCheckSmcParams, BoundCheckSmcParamsUncompressed, BoundCheckSmcWithKVVerifierParams, BoundCheckSmcWithKVVerifierParamsUncompressed } from '../bound-check'; import { PederCommKey, PederCommKeyUncompressed } from '../ped-com'; import { BBDT16MacParams } from '../bbdt16-mac'; /** * Represents (public) setup parameters of different protocols. Different setup parameters can be wrapped in this and * then a reference to this is passed to the `Statement`. This is helpful when the same setup parameter needs * to be passed to several `Statement`s as it avoids the need of having several copies of the setup parameter. */ export declare class SetupParam extends BytearrayWrapper { static bbsPlusSignatureParamsG1(params: BBSPlusSignatureParamsG1): SetupParam; static bbsSignatureParams(params: BBSSignatureParams): SetupParam; static bbsPlusSignaturePublicKeyG2(publicKey: BBSPlusPublicKeyG2): SetupParam; static psSignatureParams(params: PSSignatureParams): SetupParam; static psSignaturePublicKey(publicKey: PSPublicKey): SetupParam; static bbdt16MacParams(params: BBDT16MacParams): SetupParam; static vbAccumulatorParams(params: AccumulatorParams): SetupParam; static vbAccumulatorPublicKey(publicKey: AccumulatorPublicKey): SetupParam; static vbAccumulatorMemProvingKey(provingKey: MembershipProvingKey): SetupParam; static vbAccumulatorNonMemProvingKey(provingKey: NonMembershipProvingKey): SetupParam; static pedersenCommitmentKeyG1(commitmentKey: Uint8Array[]): SetupParam; static saverEncryptionGens(encGens: SaverEncryptionGens): SetupParam; static saverEncryptionGensUncompressed(encGens: SaverEncryptionGensUncompressed): SetupParam; static saverCommitmentKey(commKey: SaverChunkedCommitmentKey): SetupParam; static saverCommitmentKeyUncompressed(commKey: SaverChunkedCommitmentKeyUncompressed): SetupParam; static saverEncryptionKey(key: SaverEncryptionKey): SetupParam; static saverEncryptionKeyUncompressed(key: SaverEncryptionKeyUncompressed): SetupParam; static saverProvingKey(key: SaverProvingKey): SetupParam; static saverProvingKeyUncompressed(key: SaverProvingKeyUncompressed): SetupParam; static saverVerifyingKey(key: SaverVerifyingKey): SetupParam; static saverVerifyingKeyUncompressed(key: SaverVerifyingKeyUncompressed): SetupParam; static legosnarkProvingKey(key: LegoProvingKey): SetupParam; static legosnarkProvingKeyUncompressed(key: LegoProvingKeyUncompressed): SetupParam; static legosnarkVerifyingKey(key: LegoVerifyingKey): SetupParam; static legosnarkVerifyingKeyUncompressed(key: LegoVerifyingKeyUncompressed): SetupParam; static r1cs(r1cs: R1CS | ParsedR1CSFile): SetupParam; static bytes(b: Uint8Array): SetupParam; static fieldElementVec(arr: Uint8Array[]): SetupParam; static bppSetupParams(params: BoundCheckBppParams): SetupParam; static bppSetupParamsUncompressed(params: BoundCheckBppParamsUncompressed): SetupParam; static smcSetupParams(params: BoundCheckSmcParams): SetupParam; static smcSetupParamsUncompressed(params: BoundCheckSmcParamsUncompressed): SetupParam; static smcSetupParamsWithSk(params: BoundCheckSmcWithKVVerifierParams): SetupParam; static smcSetupParamsWithSkUncompressed(params: BoundCheckSmcWithKVVerifierParamsUncompressed): SetupParam; static pedCommKeyG1(commKey: PederCommKey): SetupParam; static pedCommKeyG1Uncompressed(commKey: PederCommKeyUncompressed): SetupParam; } //# sourceMappingURL=setup-param.d.ts.map