/* Elaina Baileys maintained distribution. Upstream notices and license are preserved in LICENSE and NOTICE.md. */ export interface MongoAuthStateOptions { collection?: any; db?: any; uri?: string; clientOptions?: any; dbName?: string; collectionName?: string; session?: string; } export function useMongoAuthState(opts?: MongoAuthStateOptions): Promise<{ state: { creds: any; keys: { get: (type: any, ids: any) => Promise<{}>; set: (data: any) => Promise; }; }; saveCreds: () => Promise; clearAuth: () => Promise; close: () => Promise; }>;