import type { EncryptionProvider } from '../providers/base.js'; import type { DecryptionRequest, EncryptionRequest, EncryptionResult, HealthCheck, KeyMetadata, SignatureRequest, SignatureResult, VerificationRequest } from '../types.js'; import type { CryptoOperations, HealthMonitoring, KeyManagement, SignatureOperations } from './core.js'; /** * Adapter that bridges segregated interfaces to the legacy monolithic EncryptionProvider interface * This allows new implementations to be composed from focused interfaces while maintaining * backward compatibility with existing code */ export declare class ProviderAdapter implements EncryptionProvider { private readonly crypto; private readonly signature; private readonly keyMgmt; private readonly health; readonly name: string; constructor(crypto: CryptoOperations, signature: SignatureOperations, keyMgmt: KeyManagement, health: HealthMonitoring, name: string); /** * Delegate to CryptoOperations */ encrypt(request: EncryptionRequest): Promise; /** * Delegate to CryptoOperations */ decrypt(request: DecryptionRequest): Promise; /** * Delegate to SignatureOperations */ sign(request: SignatureRequest): Promise; /** * Delegate to SignatureOperations */ verify(request: VerificationRequest): Promise; /** * Delegate to KeyManagement */ generateKey(): Promise; /** * Delegate to KeyManagement */ rotateKey(keyId: string): Promise; /** * Delegate to KeyManagement */ getKeyMetadata(keyId: string): Promise; /** * Delegate to HealthMonitoring */ healthCheck(): Promise; } //# sourceMappingURL=adapter.d.ts.map