import { ThresholdBbsPlusSignatureShare, ThresholdSigner } from './common'; import { BBSPlusSecretKey, BBSPlusSignatureParamsG1, BBSPlusSignatureG1 } from '../bbs-plus'; export declare class ThresholdBbsPlusSigner extends ThresholdSigner { finishRound1(secretKey: BBSPlusSecretKey): 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: BBSPlusSignatureParamsG1, encodeMessages: boolean): ThresholdBbsPlusSignatureShare; /** * Aggregate many signature shares to form a BBS+ signature * @param shares */ static aggregateShares(shares: ThresholdBbsPlusSignatureShare[]): BBSPlusSignatureG1; 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-plus.d.ts.map