import { AuthenticationState } from '@adiwajshing/baileys' import { DataStore } from './data_store' export const stores: Map = new Map() export interface getStore { (phone: string): Promise } export type Store = { dataStore: DataStore state: AuthenticationState saveCreds: () => Promise } export interface store { (phone: string): Promise }