import type { DecryptionRequest, EncryptionRequest, EncryptionResult, HealthCheck, KeyMetadata, SignatureRequest, SignatureResult, VerificationRequest } from '../../types.js'; import type { EncryptionProvider } from '../base.js'; import { LocalCryptoOperations } from './crypto-ops.js'; import { LocalHealthMonitoring } from './health.js'; import { LocalKeyManagement } from './key-mgmt.js'; import { LocalSignatureOperations } from './signature-ops.js'; export type LocalProviderOptions = { defaultEncryptionKeyId?: string; }; /** * Refactored LocalEncryptionProvider - composed of focused implementations * All duplication eliminated, SOLID principles applied * Creates provider by composing segregated interfaces * @param options Provider configuration * @returns Configured encryption provider */ export declare function createLocalProvider(options?: LocalProviderOptions): EncryptionProvider; /** * Legacy constructor - maintained for backward compatibility * @deprecated Use createLocalProvider() factory function instead * * Kept for backward compatibility with existing code that imports LocalEncryptionProvider * All new code should use createLocalProvider() which provides better composability * with decorators and other advanced features */ export declare class LocalEncryptionProvider implements EncryptionProvider { private readonly provider; readonly name: string; constructor(options?: LocalProviderOptions); encrypt(request: EncryptionRequest): Promise; decrypt(request: DecryptionRequest): Promise; sign(request: SignatureRequest): Promise; verify(request: VerificationRequest): Promise; generateKey(): Promise; rotateKey(keyId: string): Promise; getKeyMetadata(keyId: string): Promise; healthCheck(): Promise; } export { LocalCryptoOperations, LocalHealthMonitoring, LocalKeyManagement, LocalSignatureOperations }; //# sourceMappingURL=index.d.ts.map