import type { IRoleDefinitionV2 } from '@energyweb/credential-governance'; export declare class NoCredential extends Error { constructor(credential: string, subject: string); } export declare class NoCredentialStatus extends Error { constructor(credential: string); } export declare class CredentialNotRevoked extends Error { constructor(credential: string, subject: string); } export declare class CredentialRevoked extends Error { constructor(credential: string, subject: string); } export declare class RevokerNotAuthorized extends Error { constructor(revoker: string, credential: string, reason?: string); } export declare class InvalidCredentialProof extends Error { constructor(proof: string, issuer: string); } export declare class IssuerNotAuthorized extends Error { constructor(issuer: string, credential: string, reason?: string); } export declare class InvalidRevokerType extends Error { constructor(credential: string, revokerType: IRoleDefinitionV2['revoker']['revokerType']); } export declare class InvalidIssuerType extends Error { constructor(credential: string, issuerType: IRoleDefinitionV2['issuer']['issuerType']); } export declare class NoRevokers extends Error { constructor(credential: string); } export declare class NoIssuers extends Error { constructor(credential: string); } export declare const ERRORS: { NoCredential: string; NoCredentialStatus: string; CredentialNotRevoked: string; RevokerNotAuthorized: string; InvalidCredentialProof: string; IssuerNotAuthorized: string; InvalidRevokerType: string; InvalidIssuerType: string; NoRevokers: string; NoIssuers: string; IssuerCredentialRevoked: string; IssuerCredentialExpired: string; };