export function waChatKey(pin: any): { key: (c: any) => string; compare: (k1: any, k2: any) => any; }; export function waMessageID(m: any): any; export namespace waLabelAssociationKey { function key(la: any): any; function compare(k1: any, k2: any): any; } export function makeInMemoryStore(config?: {}): { chats: any; contacts: {}; messages: {}; groupMetadata: {}; state: { connection: string; }; presences: {}; labels: ObjectRepository; labelAssociations: any; bind: (ev: any) => void; /** loads messages from the store, if not found -- uses the legacy connection */ loadMessages: (jid: any, count: any, cursor: any) => Promise; /** * Get all available labels for profile * * Keep in mind that the list is formed from predefined tags and tags * that were "caught" during their editing. */ getLabels: () => ObjectRepository; /** * Get labels for chat * * @returns Label IDs **/ getChatLabels: (chatId: any) => any; /** * Get labels for message * * @returns Label IDs **/ getMessageLabels: (messageId: any) => any; loadMessage: (jid: any, id: any) => Promise; mostRecentMessage: (jid: any) => Promise; fetchImageUrl: (jid: any, sock: any) => Promise; fetchGroupMetadata: (jid: any, sock: any) => Promise; fetchMessageReceipts: ({ remoteJid, id }: { remoteJid: any; id: any; }) => Promise; toJSON: () => { chats: any; contacts: {}; messages: {}; labels: ObjectRepository; labelAssociations: any; }; fromJSON: (json: any) => void; writeToFile: (path: any) => void; readFromFile: (path: any) => void; }; import { ObjectRepository } from './object-repository.js'; //# sourceMappingURL=make-in-memory-store.d.ts.map