/** * Base error class for secret operations */ export declare class SecretError extends Error { readonly code: string; readonly adapterType?: string; readonly cause?: Error; constructor(message: string, code: string, options?: { adapterType?: string; cause?: Error; }); } /** * Error thrown when a key is not found */ export declare class KeyNotFoundError extends SecretError { constructor(keyId: string, adapterType?: string); } /** * Error thrown when decryption fails */ export declare class DecryptionError extends SecretError { constructor(message: string, adapterType?: string, cause?: Error); } /** * Error thrown when encryption fails */ export declare class EncryptionError extends SecretError { constructor(message: string, adapterType?: string, cause?: Error); } /** * Error thrown when key rotation fails */ export declare class KeyRotationError extends SecretError { constructor(message: string, adapterType?: string, cause?: Error); } /** * Error thrown when a tenant's encryption key is missing */ export declare class TenantKeyMissingError extends SecretError { constructor(tenantId: string); } /** * Error thrown when the Application Master Key is unavailable */ export declare class AMKUnavailableError extends SecretError { constructor(message: string); } /** * Error thrown when the store is not initialized */ export declare class StoreNotInitializedError extends SecretError { constructor(adapterType?: string); } /** * Error thrown when an invalid key format is encountered */ export declare class InvalidKeyFormatError extends SecretError { constructor(message: string, adapterType?: string); } //# sourceMappingURL=errors.d.ts.map