import { EncryptedData, HybridGroupSessionKey } from '@towns-protocol/proto'; import { EncryptionAlgorithm, EnsureOutboundSessionOpts, IEncryptionParams } from './base'; import { GroupEncryptionAlgorithmId } from './olmLib'; /** * Hybrid Group encryption implementation * * @param params - parameters, as per {@link EncryptionAlgorithm} */ export declare class HybridGroupEncryption extends EncryptionAlgorithm { readonly algorithm = GroupEncryptionAlgorithmId.HybridGroupEncryption; constructor(params: IEncryptionParams); ensureOutboundSession(streamId: string, opts?: EnsureOutboundSessionOpts): Promise; _ensureOutboundSession(streamId: string, opts?: EnsureOutboundSessionOpts): Promise; hasOutboundSession(streamId: string): Promise; private shareSession; /** * @deprecated */ encrypt_deprecated_v0(streamId: string, payload: string): Promise; /** * @param content - plaintext event content * * @returns Promise which resolves to the new event body */ encrypt(streamId: string, payload: Uint8Array): Promise; } //# sourceMappingURL=hybridGroupEncryption.d.ts.map