Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
jajbshjahavahh
GitHub Repository: jajbshjahavahh/Gojo-Satoru
Path: blob/master/node_modules/@adiwajshing/baileys/lib/Utils/auth-utils.d_1.ts
2593 views
1
import type { Logger } from 'pino';
2
import type { AuthenticationCreds, AuthenticationState, SignalKeyStore, SignalKeyStoreWithTransaction } from '../Types';
3
export declare const addTransactionCapability: (state: SignalKeyStore, logger: Logger) => SignalKeyStoreWithTransaction;
4
export declare const initAuthCreds: () => AuthenticationCreds;
5
/** stores the full authentication state in a single JSON file */
6
export declare const useSingleFileAuthState: (filename: string, logger?: Logger) => {
7
state: AuthenticationState;
8
saveState: () => void;
9
};
10
11