/**
 * A class that represents a DWN error.
 */
export declare class DwnError extends Error {
    code: string;
    constructor(code: string, message: string);
}
/**
 * DWN SDK error codes.
 */
export declare enum DwnErrorCode {
    AuthenticateJwsMissing = "AuthenticateJwsMissing",
    AuthenticateDescriptorCidMismatch = "AuthenticateDescriptorCidMismatch",
    AuthenticationMoreThanOneSignatureNotSupported = "AuthenticationMoreThanOneSignatureNotSupported",
    AuthorizationUnknownAuthor = "AuthorizationUnknownAuthor",
    AuthorizationNotGrantedToAuthor = "AuthorizationNotGrantedToAuthor",
    ComputeCidCodecNotSupported = "ComputeCidCodecNotSupported",
    ComputeCidMultihashNotSupported = "ComputeCidMultihashNotSupported",
    DidMethodNotSupported = "DidMethodNotSupported",
    DidNotString = "DidNotString",
    DidNotValid = "DidNotValid",
    DidResolutionFailed = "DidResolutionFailed",
    Ed25519InvalidJwk = "Ed25519InvalidJwk",
    GeneralJwsVerifierGetPublicKeyNotFound = "GeneralJwsVerifierGetPublicKeyNotFound",
    GeneralJwsVerifierInvalidSignature = "GeneralJwsVerifierInvalidSignature",
    GrantAuthorizationGrantExpired = "GrantAuthorizationGrantExpired",
    GrantAuthorizationGrantMissing = "GrantAuthorizationGrantMissing",
    GrantAuthorizationGrantRevoked = "GrantAuthorizationGrantRevoked",
    GrantAuthorizationInterfaceMismatch = "GrantAuthorizationInterfaceMismatch",
    GrantAuthorizationMethodMismatch = "GrantAuthorizationMethodMismatch",
    GrantAuthorizationNotGrantedForTenant = "GrantAuthorizationNotGrantedForTenant",
    GrantAuthorizationNotGrantedToAuthor = "GrantAuthorizationNotGrantedToAuthor",
    GrantAuthorizationGrantNotYetActive = "GrantAuthorizationGrantNotYetActive",
    HdKeyDerivationPathInvalid = "HdKeyDerivationPathInvalid",
    JwsVerifySignatureUnsupportedCrv = "JwsVerifySignatureUnsupportedCrv",
    JwsDecodePlainObjectPayloadInvalid = "JwsDecodePlainObjectPayloadInvalid",
    MessageGetInvalidCid = "MessageGetInvalidCid",
    ParseCidCodecNotSupported = "ParseCidCodecNotSupported",
    ParseCidMultihashNotSupported = "ParseCidMultihashNotSupported",
    PermissionsGrantGrantedByMismatch = "PermissionsGrantGrantedByMismatch",
    PermissionsGrantNotADelegatedGrant = "PermissionsGrantNotADelegatedGrant",
    PermissionsGrantScopeContextIdAndProtocolPath = "PermissionsGrantScopeContextIdAndProtocolPath",
    PermissionsGrantScopeSchemaProhibitedFields = "PermissionsGrantScopeSchemaProhibitedFields",
    PermissionsGrantUnauthorizedGrant = "PermissionsGrantUnauthorizedGrant",
    PermissionsRevokeMissingPermissionsGrant = "PermissionsRevokeMissingPermissionsGrant",
    PermissionsRevokeUnauthorizedRevoke = "PermissionsRevokeUnauthorizedRevoke",
    PrivateKeySignerUnableToDeduceAlgorithm = "PrivateKeySignerUnableToDeduceAlgorithm",
    PrivateKeySignerUnableToDeduceKeyId = "PrivateKeySignerUnableToDeduceKeyId",
    PrivateKeySignerUnsupportedCurve = "PrivateKeySignerUnsupportedCurve",
    ProtocolAuthorizationActionNotAllowed = "ProtocolAuthorizationActionNotAllowed",
    ProtocolAuthorizationDuplicateContextRoleRecipient = "ProtocolAuthorizationDuplicateContextRoleRecipient",
    ProtocolAuthorizationDuplicateGlobalRoleRecipient = "ProtocolAuthorizationDuplicateGlobalRoleRecipient",
    ProtocolAuthorizationIncorrectDataFormat = "ProtocolAuthorizationIncorrectDataFormat",
    ProtocolAuthorizationIncorrectProtocolPath = "ProtocolAuthorizationIncorrectProtocolPath",
    ProtocolAuthorizationInvalidSchema = "ProtocolAuthorizationInvalidSchema",
    ProtocolAuthorizationInvalidType = "ProtocolAuthorizationInvalidType",
    ProtocolAuthorizationMissingContextId = "ProtocolAuthorizationMissingContextId",
    ProtocolAuthorizationMissingRole = "ProtocolAuthorizationMissingRole",
    ProtocolAuthorizationMissingRuleSet = "ProtocolAuthorizationMissingRuleSet",
    ProtocolAuthorizationParentlessIncorrectProtocolPath = "ProtocolAuthorizationParentlessIncorrectProtocolPath",
    ProtocolAuthorizationNotARole = "ProtocolAuthorizationNotARole",
    ProtocolAuthorizationParentNotFound = "ProtocolAuthorizationParentNotFound",
    ProtocolAuthorizationProtocolNotFound = "ProtocolAuthorizationProtocolNotFound",
    ProtocolAuthorizationQueryWithoutRole = "ProtocolAuthorizationQueryWithoutRole",
    ProtocolAuthorizationRoleMissingRecipient = "ProtocolAuthorizationRoleMissingRecipient",
    ProtocolsConfigureContextRoleAtProhibitedProtocolPath = "ProtocolsConfigureContextRoleAtProhibitedProtocolPath",
    ProtocolsConfigureGlobalRoleAtProhibitedProtocolPath = "ProtocolsConfigureGlobalRoleAtProhibitedProtocolPath",
    ProtocolsConfigureInvalidRole = "ProtocolsConfigureInvalidRole",
    ProtocolsConfigureInvalidActionMissingOf = "ProtocolsConfigureInvalidActionMissingOf",
    ProtocolsConfigureInvalidActionOfNotAllowed = "ProtocolsConfigureInvalidActionOfNotAllowed",
    ProtocolsConfigureQueryNotAllowed = "ProtocolsConfigureQueryNotAllowed",
    ProtocolsConfigureUnauthorized = "ProtocolsConfigureUnauthorized",
    ProtocolsQueryUnauthorized = "ProtocolsQueryUnauthorized",
    RecordsDecryptNoMatchingKeyEncryptedFound = "RecordsDecryptNoMatchingKeyEncryptedFound",
    RecordsDeleteAuthorizationFailed = "RecordsDeleteAuthorizationFailed",
    RecordsGrantAuthorizationConditionPublicationProhibited = "RecordsGrantAuthorizationConditionPublicationProhibited",
    RecordsGrantAuthorizationConditionPublicationRequired = "RecordsGrantAuthorizationConditionPublicationRequired",
    RecordsGrantAuthorizationScopeContextIdMismatch = "RecordsGrantAuthorizationScopeContextIdMismatch",
    RecordsGrantAuthorizationScopeNotProtocol = "RecordsGrantAuthorizationScopeNotProtocol",
    RecordsGrantAuthorizationScopeProtocolMismatch = "RecordsGrantAuthorizationScopeProtocolMismatch",
    RecordsGrantAuthorizationScopeProtocolPathMismatch = "RecordsGrantAuthorizationScopeProtocolPathMismatch",
    RecordsGrantAuthorizationScopeSchema = "RecordsGrantAuthorizationScopeSchema",
    RecordsDerivePrivateKeyUnSupportedCurve = "RecordsDerivePrivateKeyUnSupportedCurve",
    RecordsInvalidAncestorKeyDerivationSegment = "RecordsInvalidAncestorKeyDerivationSegment",
    RecordsProtocolContextDerivationSchemeMissingContextId = "RecordsProtocolContextDerivationSchemeMissingContextId",
    RecordsProtocolPathDerivationSchemeMissingProtocol = "RecordsProtocolPathDerivationSchemeMissingProtocol",
    RecordsQueryFilterMissingRequiredProperties = "RecordsQueryFilterMissingRequiredProperties",
    RecordsReadReturnedMultiple = "RecordsReadReturnedMultiple",
    RecordsReadAuthorizationFailed = "RecordsReadAuthorizationFailed",
    RecordsSchemasDerivationSchemeMissingSchema = "RecordsSchemasDerivationSchemeMissingSchema",
    RecordsWriteAttestationIntegrityMoreThanOneSignature = "RecordsWriteAttestationIntegrityMoreThanOneSignature",
    RecordsWriteAttestationIntegrityDescriptorCidMismatch = "RecordsWriteAttestationIntegrityDescriptorCidMismatch",
    RecordsWriteAttestationIntegrityInvalidPayloadProperty = "RecordsWriteAttestationIntegrityInvalidPayloadProperty",
    RecordsWriteAuthorizationFailed = "RecordsWriteAuthorizationFailed",
    RecordsWriteCreateMissingSigner = "RecordsWriteCreateMissingSigner",
    RecordsWriteCreateContextIdAndParentIdMutuallyInclusive = "RecordsWriteCreateContextIdAndParentIdMutuallyInclusive",
    RecordsWriteCreateDataAndDataCidMutuallyExclusive = "RecordsWriteCreateDataAndDataCidMutuallyExclusive",
    RecordsWriteCreateDataCidAndDataSizeMutuallyInclusive = "RecordsWriteCreateDataCidAndDataSizeMutuallyInclusive",
    RecordsWriteCreateProtocolAndProtocolPathMutuallyInclusive = "RecordsWriteCreateProtocolAndProtocolPathMutuallyInclusive",
    RecordsWriteDataCidMismatch = "RecordsWriteDataCidMismatch",
    RecordsWriteDataSizeMismatch = "RecordsWriteDataSizeMismatch",
    RecordsWriteGetEntryIdUndefinedAuthor = "RecordsWriteGetEntryIdUndefinedAuthor",
    RecordsWriteGetInitialWriteNotFound = "RecordsWriteGetInitialWriteNotFound",
    RecordsWriteImmutablePropertyChanged = "RecordsWriteImmutablePropertyChanged",
    RecordsWriteMissingAuthorizationSigner = "RecordsWriteMissingAuthorizationSigner",
    RecordsWriteMissingSigner = "RecordsWriteMissingSigner",
    RecordsWriteMissingDataInPrevious = "RecordsWriteMissingDataInPrevious",
    RecordsWriteMissingDataAssociation = "RecordsWriteMissingDataAssociation",
    RecordsWriteMissingDataStream = "RecordsWriteMissingDataStream",
    RecordsWriteMissingProtocol = "RecordsWriteMissingProtocol",
    RecordsWriteMissingSchema = "RecordsWriteMissingSchema",
    RecordsWriteOwnerAndTenantMismatch = "RecordsWriteOwnerAndTenantMismatch",
    RecordsWriteSignAsOwnerUnknownAuthor = "RecordsWriteSignAsOwnerUnknownAuthor",
    RecordsWriteValidateIntegrityAttestationMismatch = "RecordsWriteValidateIntegrityAttestationMismatch",
    RecordsWriteValidateIntegrityContextIdMismatch = "RecordsWriteValidateIntegrityContextIdMismatch",
    RecordsWriteValidateIntegrityContextIdNotInSignerSignaturePayload = "RecordsWriteValidateIntegrityContextIdNotInSignerSignaturePayload",
    RecordsWriteValidateIntegrityDateCreatedMismatch = "RecordsWriteValidateIntegrityDateCreatedMismatch",
    RecordsWriteValidateIntegrityDelegatedGrantAndIdExistenceMismatch = "RecordsWriteValidateIntegrityDelegatedGrantAndIdExistenceMismatch",
    RecordsWriteValidateIntegrityEncryptionCidMismatch = "RecordsWriteValidateIntegrityEncryptionCidMismatch",
    RecordsWriteValidateIntegrityGrantedToAndSignerMismatch = "RecordsWriteValidateIntegrityGrantedToAndSignerMismatch",
    RecordsWriteValidateIntegrityRecordIdUnauthorized = "RecordsWriteValidateIntegrityRecordIdUnauthorized",
    SchemaValidatorSchemaNotFound = "SchemaValidatorSchemaNotFound",
    SchemaValidationFailure = "SchemaValidationFailure",
    Secp256k1KeyNotValid = "Secp256k1KeyNotValid",
    TimestampInvalid = "TimestampInvalid",
    UrlProtocolNotNormalized = "UrlProtocolNotNormalized",
    UrlProtocolNotNormalizable = "UrlProtocolNotNormalizable",
    UrlSchemaNotNormalized = "UrlSchemaNotNormalized",
    UrlSchemaNotNormalizable = "UrlSchemaNotNormalizable"
}
//# sourceMappingURL=dwn-error.d.ts.map