import { ConversationInterface, MessageInterface } from "@churchapps/helpers"; type Listener = (conv: ConversationInterface) => void; /** In-memory cache of conversations, subscribed via snapshot delivery on message mutations. */ export declare class ConversationStore { private static conversations; private static listeners; private static handlersRegistered; private static peopleCache; private static churchIds; static ensureHandlers: () => void; static reset: () => void; static forget: (conversationId: string) => void; static getConversation: (conversationId: string) => ConversationInterface | null; static setConversation: (conv: ConversationInterface) => void; static loadByContent: (contentType: string, contentId: string) => Promise; static loadByConversationId: (conversationId: string, churchId?: string) => Promise; static applyMessage: (message: MessageInterface) => void; static applyDelete: (messageId: string, conversationId?: string) => void; static subscribe: (conversationId: string, listener: Listener) => (() => void); private static notify; private static hydratePeople; private static fetchPerson; } export {}; //# sourceMappingURL=ConversationStore.d.ts.map