import { DecryptionAlgorithm, IDecryptionParams } from './base'; import { GroupEncryptionAlgorithmId, GroupEncryptionSession } from './olmLib'; import { EncryptedData } from '@towns-protocol/proto'; /** * Group decryption implementation * * @param params - parameters, as per {@link DecryptionAlgorithm} */ export declare class HybridGroupDecryption extends DecryptionAlgorithm { readonly algorithm = GroupEncryptionAlgorithmId.HybridGroupEncryption; private lruCache; constructor(params: IDecryptionParams); /** * returns a promise which resolves to a * {@link EventDecryptionResult} once we have finished * decrypting, or rejects with an `algorithms.DecryptionError` if there is a * problem decrypting the event. */ decrypt(streamId: string, content: EncryptedData): Promise; /** * @param streamId - the stream id of the session * @param session- the group session object */ importStreamKey(streamId: string, session: GroupEncryptionSession): Promise; /** */ exportGroupSession(streamId: string, sessionId: string): Promise; /** */ exportGroupSessions(): Promise; /** */ exportGroupSessionIds(streamId: string): Promise; hasSessionKey(streamId: string, sessionId: string): Promise; } //# sourceMappingURL=hybridGroupDecryption.d.ts.map