import { CoreError } from "@nmshd/core-types"; import { RelationshipStatus } from "../modules"; declare class Relationships { operationOnlyAllowedForPeer(message: string): CoreError; wrongRelationshipStatus(relationshipId: string, status: RelationshipStatus): CoreError; relationshipCurrentlyExists(status: RelationshipStatus): CoreError; relationshipTemplateIsExpired(templateId: string): CoreError; relationshipNotYetDecomposedByPeer(): CoreError; reactivationNotRequested(relationshipId: string): CoreError; reactivationAlreadyRequested(message: string): CoreError; deletedOwnerOfRelationshipTemplate(): CoreError; activeIdentityDeletionProcessOfOwnerOfRelationshipTemplate(): CoreError; } declare class Device { alreadyOnboarded(): CoreError; couldNotDeleteDevice(reason: string, rootCause?: any): CoreError; } declare class Messages { plaintextMismatch(ownAddress: string): CoreError; signatureListMismatch(address: string): CoreError; signatureNotValid(): CoreError; ownAddressNotInList(messageId: string): CoreError; hasNeitherActiveNorTerminatedRelationship(addresses: string[]): CoreError; peerIsDeleted(addresses: string[]): CoreError; } declare class Secrets { wrongSecretType(secretId?: string): CoreError; secretNotFound(type: string): CoreError; } declare class Challenges { challengeTypeRequiresActiveRelationship(): CoreError; } declare class Datawallet { insufficientSupportedDatawalletVersion(supportedVersion: number, requiredVersion: number): CoreError; currentBiggerThanTarget(current: number, target: number): CoreError; } declare class Files { plaintextHashMismatch(): CoreError; cipherMismatch(): CoreError; invalidMetadata(id: string): CoreError; maxFileSizeExceeded(fileSize: number, platformMaxFileSize: number): CoreError; } declare class Tokens { invalidTokenContent(id: string): CoreError; emptyToken(id: string): CoreError; } declare class General { noIdentityFound(): CoreError; baseUrlNotSet(): CoreError; invalidBaseUrl(): CoreError; platformClientSecretNotSet(): CoreError; platformClientIdNotSet(): CoreError; platformClientInvalid(): CoreError; signatureNotValid(type?: string): CoreError; recordNotFound(entityName: string | Function, entityId: string): CoreError; notSupported(): CoreError; notIntendedForYou(id: string): CoreError; accountControllerInitialSyncFailed(): CoreError; noPasswordProvided(): CoreError; } declare class BackboneNotifications { atLeastOneRecipientRequired(): CoreError; codeMustNotBeEmpty(): CoreError; noActiveRelationshipFoundForRecipients(recipients: string[]): CoreError; } export declare class TransportCoreErrors { static readonly relationships: Relationships; static readonly general: General; static readonly messages: Messages; static readonly secrets: Secrets; static readonly device: Device; static readonly files: Files; static readonly challenges: Challenges; static readonly datawallet: Datawallet; static readonly tokens: Tokens; static readonly backboneNotifications: BackboneNotifications; } export {}; //# sourceMappingURL=TransportCoreErrors.d.ts.map