import { InputClaimModel } from './InputClaimModel'; /** * Base class for input attestations */ export declare abstract class BaseAttestationModel { mapping?: { [map: string]: InputClaimModel; } | undefined; encrypted: boolean; claims?: InputClaimModel[] | undefined; required: boolean; private _id?; /** * * @param mapping a map of string to InputClaimModel instances * @param encrypted flag indicating if the attestation is encrypted * @param claims an array of InputClaimModel values * @param required an array of InputClaimModel values * @param id the identifier of the attestation */ constructor(mapping?: { [map: string]: InputClaimModel; } | undefined, encrypted?: boolean, claims?: InputClaimModel[] | undefined, required?: boolean, _id?: string | undefined); /** * Mapping keys of all index claims. */ get indexClaims(): string[]; /** * Gets the name of the attestation */ abstract get name(): string; /** * Gets the id of the attestation */ get id(): string; toJSON(): any; /** * Populate an instance of BaseAttestationModel from any instance * @param input object instance to populate from */ populateFrom(input: any): void; /** * Create a IdTokenAttestationModel for an input resource */ forInput(): BaseAttestationModel; /** * Creates Model given input claims. * @param claims Input claims */ protected abstract createForInput(claims: InputClaimModel[]): BaseAttestationModel; }