import { AuthenticationModel } from './AuthenticationModel'; import { BaseIssuanceModel } from './BaseIssuanceModel'; import { EventBindingModel } from './EventBindingModel'; import { IssuanceAttestationsModel } from './IssuanceAttestationsModel'; import { RefreshConfigurationModel } from './RefreshConfigurationModel'; import { RemoteKeyModel } from './RemoteKeyModel'; import { RulesPermissionModel } from './RulesPermissionModel'; import { TrustedIssuerModel } from './TrustedIssuerModel'; import { VerifiableCredentialModel } from './VerifiableCredentialModel'; /** * Data Model to serialize a Rules file into */ export declare class RulesModel extends BaseIssuanceModel { validityInterval?: number | undefined; decryptionKeys?: RemoteKeyModel[] | undefined; signingKeys?: RemoteKeyModel[] | undefined; refresh?: RefreshConfigurationModel | undefined; statusCheckDisabled: boolean; clientRevocationDisabled: boolean; vc?: VerifiableCredentialModel | undefined; minimalDisclosure: boolean; endorsers?: TrustedIssuerModel[] | undefined; permissions?: { [endpoint: string]: RulesPermissionModel; } | undefined; authentication?: AuthenticationModel | undefined; eventBindings?: EventBindingModel | undefined; /** * * @param credentialIssuer url to the issuance endpoint of the Verifiable Credential * @param issuer the DID of the Verifiable Credential Issuer * @param attestations IssuanceAttestationsModel instance * @param validityInterval the time in seconds after issuance that the Verifiable Credential will be valid for * @param decryptionKeys An array of RemoteKey objects which allow an encrypted attestation to be decrypted. * @param signingKeys An array of RemoteKey objects which will sign the Verifiable Credential * @param refresh describes if Verifiable Credential refresh is enabled and for how long * @param statusCheckDisabled flag indicating that the credentialStatus claim must be omitted from a Verifiable Credential * @param clientRevocationDisabled flag indicating that the revokeService claim must be omitted from a Verifiable Credential. Use of this flag allows an * Issuer to customize revocation operations * @param vc VerifiableCredential instance * @param minimalDisclosure a flag indicating if the issuer should create a minimal disclosure credential * @param endorsers optional array of endorsers of the Verifiable Credential Issuer * @param authentication optional AuthenticationModel instance */ constructor(credentialIssuer?: string, issuer?: string, attestations?: IssuanceAttestationsModel, validityInterval?: number | undefined, decryptionKeys?: RemoteKeyModel[] | undefined, signingKeys?: RemoteKeyModel[] | undefined, refresh?: RefreshConfigurationModel | undefined, statusCheckDisabled?: boolean, clientRevocationDisabled?: boolean, vc?: VerifiableCredentialModel | undefined, minimalDisclosure?: boolean, endorsers?: TrustedIssuerModel[] | undefined, permissions?: { [endpoint: string]: RulesPermissionModel; } | undefined, authentication?: AuthenticationModel | undefined, eventBindings?: EventBindingModel | undefined); /** * Populate an instance of RemoteKeyAuthorizationModel from any instance * @param input object instance to populate from */ populateFrom(input: any): void; private static createRemoteKey; }