import { makeInMemoryStore, WAMessage, WAMessageKey, WASocket } from '@whiskeysockets/baileys'; import { Config } from './config'; export declare const dataStores: Map; export interface getDataStore { (phone: string, config: Config): DataStore; } export type DataStore = ReturnType & { loadKey: (id: string) => Promise; setKey: (id: string, key: WAMessageKey) => Promise; setUnoId: (id: string, unoId: string) => Promise; loadUnoId: (id: string) => Promise; setStatus: (id: string, status: 'scheduled' | 'pending' | 'without-whatsapp' | 'invalid-phone-number' | 'error' | 'failed' | 'sent' | 'delivered' | 'read' | 'played' | 'accepted' | 'deleted') => Promise; loadStatus: (id: string) => Promise; getJid: (phone: string, sock: Partial) => Promise; setMessage: (jid: string, message: WAMessage) => Promise; cleanSession: () => Promise; loadTemplates(): Promise; };