import { ThresholdBbsSignatureShare, ThresholdSigner } from './common'; import { BBSSecretKey, BBSSignature, BBSSignatureParams } from '../bbs'; export declare class ThresholdBbsSigner extends ThresholdSigner { finishRound1(secretKey: BBSSecretKey): void; /** * Create a share of the BBS signature to be given to the user * @param messages - the messages to be signed for this signature * @param indexInBatch - the index (0-based) of this signature in the batch * @param params * @param encodeMessages */ createSigShare(messages: Uint8Array[], indexInBatch: number, params: BBSSignatureParams, encodeMessages: boolean): ThresholdBbsSignatureShare; /** * Aggregate many signature shares to form a BBS signature * @param shares */ static aggregateShares(shares: ThresholdBbsSignatureShare[]): BBSSignature; protected startRound1Func(): (sigBatchSize: number, participantId: number, others: Set, protocolId: Uint8Array) => [Uint8Array, Uint8Array, Map]; protected processCommFunc(): (phase1: Uint8Array, senderId: number, commitments: Uint8Array, commitmentsZeroShare: Uint8Array) => Uint8Array; protected getSharesForOtherFunc(): (phase1: Uint8Array, otherId: number) => [Uint8Array, Uint8Array]; protected getSharesForOthersFunc(): (phase1: Uint8Array, otherIds: number[]) => [Uint8Array, Uint8Array][]; protected processSharesFunc(): (phase1: Uint8Array, senderId: number, shares: Uint8Array, zeroShares: Uint8Array) => Uint8Array; protected finishRound1Func(): (phase1: Uint8Array, secretKey: Uint8Array) => Uint8Array; protected startRound2Func(): (participantId: number, others: Set, phase1Output: Uint8Array, baseOTOutput: Uint8Array, gadgetVector: Uint8Array) => [Uint8Array, Map]; protected recvMsg1Func(): (phase2: Uint8Array, senderId: number, message: Uint8Array, gadgetVector: Uint8Array) => [Uint8Array, Uint8Array]; protected recvMsg2Func(): (phase2: Uint8Array, senderId: number, message: Uint8Array, gadgetVector: Uint8Array) => Uint8Array; protected finishRound2Func(): (phase2: Uint8Array) => Uint8Array; } //# sourceMappingURL=bbs.d.ts.map