import { EncryptedData } from '@towns-protocol/proto'; import TypedEmitter from 'typed-emitter'; import { StreamEncryptionEvents, StreamStateEvents } from './streamEvents'; export declare class MemberMetadata_DisplayNames { log: import("@towns-protocol/utils").DLogger; private decryptionDispatchCount; readonly streamId: string; readonly userIdToEventId: Map; readonly plaintextDisplayNames: Map; readonly displayNameEvents: Map; constructor(streamId: string); addEncryptedData(eventId: string, encryptedData: EncryptedData, userId: string, pending: boolean | undefined, cleartext: Uint8Array | string | undefined, encryptionEmitter: TypedEmitter | undefined, stateEmitter: TypedEmitter | undefined): void; onConfirmEvent(eventId: string, emitter?: TypedEmitter): void; onDecryptedContent(eventId: string, content: string, emitter?: TypedEmitter): void; private emitDisplayNameUpdated; private removeEventForUserId; private addEventForUserId; info(userId: string): { displayName: string; displayNameEncrypted: boolean; }; } //# sourceMappingURL=memberMetadata_DisplayNames.d.ts.map