/** * RecipientKeyResolver — resolves encryption key availability and retrieves * cryptographic material for a set of recipients under a given scheme. * * Implements the IRecipientKeyResolver interface, delegating key lookups * to an injected IKeyStore dependency. * * @see Requirements 2.3, 3.2, 7.2, 11.7, 14.1, 14.2, 14.4 */ import { MessageEncryptionScheme } from '../../enumerations/messaging/messageEncryptionScheme'; import { IKeyStore } from '../../interfaces/messaging/keyStore'; import { IRecipientKeyAvailability, IRecipientKeyResolver, IResolvedRecipientKeys } from '../../interfaces/messaging/recipientKeyResolver'; /** * Resolves which encryption schemes are available for a set of recipients * and retrieves the actual cryptographic material needed for encryption. * * @see Requirement 2.3 — Query keyserver for public keys by email * @see Requirement 11.7 — Resolve recipient keys and display warnings */ export declare class RecipientKeyResolver implements IRecipientKeyResolver { private readonly keyStore; constructor(keyStore: IKeyStore); /** * Check key availability for all recipients. * * Queries the key store for each email to determine which types of * cryptographic material are available. * * @param emails - Array of recipient email addresses to check * @returns Availability information for each recipient */ resolveAvailability(emails: string[]): Promise; /** * Resolve actual keys/certificates for a given encryption scheme. * * Retrieves the cryptographic material needed to encrypt a message * under the specified scheme. Populates the appropriate key map and * identifies recipients missing the required material. * * @param emails - Array of recipient email addresses * @param scheme - The encryption scheme to resolve keys for * @returns Resolved keys and lists of recipients with missing material * @throws EmailError with RECIPIENT_KEY_MISSING when required keys are missing */ resolveKeysForScheme(emails: string[], scheme: MessageEncryptionScheme): Promise; } //# sourceMappingURL=recipientKeyResolver.d.ts.map