@zendlora/baileys
Version:
WhatsApp API Modified By Zendlora
15 lines (14 loc) • 492 B
TypeScript
import { Storage } from 'cache-manager';
import { AuthenticationCreds } from '../Types';
declare const makeCacheManagerAuthState: (store: Storage, sessionKey: string) => Promise<{
clearState: () => Promise<void>;
saveCreds: () => Promise<void>;
state: {
creds: AuthenticationCreds;
keys: {
get: (type: string, ids: string[]) => Promise<{}>;
set: (data: any) => Promise<void>;
};
};
}>;
export default makeCacheManagerAuthState;