import type * as Anoncreds from "anoncreds-wasm"; import { Credential, StorableCredential } from "../../domain/models/Credential"; import { CredentialType } from "../../domain/models/VerifiableCredential"; export declare enum AnonCredsCredentialProperties { iss = "iss", jti = "jti", sub = "sub", exp = "exp", schemaId = "schema_id", credentialDefinitionId = "cred_def_id", signature = "signature", signatureCorrectnessProof = "signature_correctness_proof", values = "values", revoked = "revoked" } export declare const AnonCredsRecoveryId = "anonCreds+credential"; export declare class AnonCredsCredential extends Credential implements StorableCredential { credentialType: CredentialType; recoveryId: string; properties: Map; constructor(credential: Anoncreds.CredentialType, isRevoked?: boolean); get id(): string; get claims(): { [x: string]: any; }[]; get credentialDefinitionId(): string; get issuer(): any; get schemaId(): string; get subject(): any; get revoked(): any; toStorable(): { recoveryId: string; credentialData: string; id: string; issuer: any; subject: any; validUntil: any; }; toJSON(): Anoncreds.CredentialType; static fromJson(value: Anoncreds.CredentialType | string | unknown): AnonCredsCredential; }