baileys-york
Version:
WhatsApp API by Baileys-York
13 lines (12 loc) • 439 B
TypeScript
import type { Logger } from 'pino';
import type { AuthenticationState } from '../Types';
/**
* @deprecated use multi file auth state instead please
* stores the full authentication state in a single JSON file
*
* DO NOT USE IN A PROD ENVIRONMENT, only meant to serve as an example
* */
export declare const useSingleFileAuthState: (filename: string, logger?: Logger) => {
state: AuthenticationState;
saveState: () => void;
};