import { ClaimsSchema, ClaimsSchemaFieldsItem, CredentialClaimValues } from '../../api'; import { ClaimDescriptor } from '../decorators'; import { ApiClient, Claims, Ctor, ReadClaims, ReadDraftClaims, UserUpdateClaims } from '../types'; import { Json } from './types'; export declare class UdtClaims { protected client: ApiClient; protected claimsModel: Ctor; constructor(client: ApiClient, claimsModel: Ctor); private processValues; private processUdt; private processCredentialClaimValues; private getClaimTypeInfo; /** convertCredentialClaimValuesToUdt maps and converts the API received claims values to the UDT claims model */ protected convertCredentialClaimValuesToUdt(model: Ctor, input: CredentialClaimValues): K; /** convertApiValuesToUdt maps and converts the API received claims values to the UDT claims model */ protected convertApiValuesToUdt(model: Ctor, input: Json): K; /** convertUdtToApiValues maps and converts the user received claims values onto UDT claims model */ protected convertUdtToCredentialClaimValues(model: Ctor, input: K): CredentialClaimValues; protected mapClaimDescriptorToClaimsSchemaFieldItem(claim: ClaimDescriptor, claimsModel: Ctor): ClaimsSchemaFieldsItem; /** * Marshalling is the process of transforming the internal representation of values to a data format suitable * for transmission. */ marshalValues(input: UserUpdateClaims): Claims; /** * Unmarshalling is the reverse process of marshalling. It involves converting data from a serialized format back * into an internal representation. */ unmarshalValuesToDraft(input: CredentialClaimValues): ReadDraftClaims; unmarshalValuesToCredential(input: Json): ReadClaims; getClaimsSchema(): ClaimsSchema; } //# sourceMappingURL=claims.d.ts.map