import { ApplicationError } from "@js-soft/ts-utils"; import { CoreAddress, CoreError, CoreId } from "@nmshd/core-types"; declare class Attributes { alreadyForwarded(attributeId: CoreId, peer: CoreAddress): CoreError; successorIsNotAValidAttribute(error: any): CoreError; successionMustNotChangeKey(): CoreError; successionPeerIsNotOwner(): CoreError; successorMustNotYetExist(): CoreError; predecessorDoesNotExist(): CoreError; successorDoesNotExist(): CoreError; successionMustChangeContent(): CoreError; successionMustNotChangeOwner(): CoreError; successionMustNotChangeValueType(): CoreError; successionMustNotChangeContentType(): CoreError; cannotSucceedAttributesWithASuccessor(successorId: string | CoreId): CoreError; cannotSucceedSharedAttributesDeletedByPeer(): CoreError; cannotSetAttributeDeletionInfo(attributeId: string | CoreId, peer?: CoreAddress | string): CoreError; cannotSetForwardingDetailsForPeer(attributeId: string | CoreId, peer: CoreAddress | string): CoreError; wrongRelationshipStatusToSetDeletionInfo(): CoreError; wrongOwnerOfAttribute(message: string): CoreError; wrongTypeOfAttribute(message: string): CoreError; senderIsNotPeerOfSharedAttribute(senderId: string | CoreAddress, attributeId: string | CoreId): CoreError; setDefaultOwnIdentityAttributesIsDisabled(): CoreError; invalidTags(tags: string[]): ApplicationError; forbiddenCharactersInAttribute(message: string): CoreError; } declare class Requests { unexpectedErrorDuringRequestItemProcessing(error: any): CoreError; servalErrorDuringRequestItemProcessing(error: any): CoreError; invalidAcceptParameters(message: string): ApplicationError; invalidRequestItem(message: string): CoreError; attributeQueryMismatch(message: string): CoreError; cannotShareRelationshipAttributeOfPendingRelationship(): CoreError; wrongRelationshipStatus(message: string): CoreError; missingRelationship(message: string): CoreError; peerIsDeleted(message: string): CoreError; peerIsInDeletion(message: string): CoreError; violatedKeyUniquenessOfRelationshipAttributes(message: string): CoreError; inheritedFromItem(message: string): ApplicationError; cannotShareRequestWithYourself(): CoreError; cannotCreateRequestWithExpirationDateInPast(): CoreError; cannotCreateRequestWithDuplicateId(id: string): CoreError; canOnlyDeleteIncomingRequestThatIsExpired(id: string, status: string): CoreError; private static readonly _decideValidation; readonly decideValidation: { invalidNumberOfItems(message: string): ApplicationError; itemAcceptedButRequestNotAccepted(message: string): ApplicationError; mustBeAcceptedItemNotAccepted(message: string): ApplicationError; requestItemAnsweredAsRequestItemGroup(): ApplicationError; requestItemGroupAnsweredAsRequestItem(): ApplicationError; }; } export declare class ConsumptionCoreErrors { static attributes: Attributes; static requests: Requests; } export {}; //# sourceMappingURL=ConsumptionCoreErrors.d.ts.map