import { Versioned } from './versioned'; import { Presentation } from './presentation'; import { CredentialVerificationParam, PredicateParamType } from './types-and-consts'; import { AccumulatorPublicKey } from '../accumulator'; import { VerifyResult } from 'crypto-wasm-new'; import { BBSBlindedCredentialBuilder, BBSPlusBlindedCredentialBuilder, BBDT16BlindedCredentialBuilder } from './blinded-credential-builder'; /** * A request for getting a blinded credential. Sent by the user to the signer who will verify it and then sign a blinded * credential. It contains a presentation which proves predicates about the blinded attributes */ export declare abstract class BlindedCredentialRequest extends Versioned { presentation: Presentation; protected constructor(version: string, presentation: Presentation); verify(publicKeys: Map | CredentialVerificationParam[], accumulatorPublicKeys?: Map, predicateParams?: Map, circomOutputs?: Map, blindedAttributesCircomOutputs?: Uint8Array[][]): VerifyResult; get sigType(): string; get builderVersion(): string; get schema(): string; get blindedAttributes(): object; get commitment(): Uint8Array; toJSON(): object; } export declare class BBSBlindedCredentialRequest extends BlindedCredentialRequest { constructor(version: string, presentation: Presentation); /** * Return the blinded credential builder which will be used to create the blinded credential * @returns */ generateBlindedCredentialBuilder(): BBSBlindedCredentialBuilder; static fromJSON(j: object): BBSBlindedCredentialRequest; } export declare class BBSPlusBlindedCredentialRequest extends BlindedCredentialRequest { constructor(version: string, presentation: Presentation); /** * Return the blinded credential builder which will be used to create the blinded credential * @returns */ generateBlindedCredentialBuilder(): BBSPlusBlindedCredentialBuilder; static fromJSON(j: object): BBSPlusBlindedCredentialRequest; } export declare class BBDT16BlindedCredentialRequest extends BlindedCredentialRequest { constructor(version: string, presentation: Presentation); /** * Return the blinded credential builder which will be used to create the blinded credential * @returns */ generateBlindedCredentialBuilder(): BBDT16BlindedCredentialBuilder; static fromJSON(j: object): BBDT16BlindedCredentialRequest; } //# sourceMappingURL=blinded-credential-request.d.ts.map