/* Elaina Baileys maintained distribution. Upstream notices and license are preserved in LICENSE and NOTICE.md. */ export interface PostgresAuthStateOptions { pool?: any; connectionString?: string; config?: any; table?: string; session?: string; } export function usePostgresAuthState(opts?: PostgresAuthStateOptions): Promise<{ state: { creds: any; keys: { get: (type: any, ids: any) => Promise<{}>; set: (data: any) => Promise; }; }; saveCreds: () => Promise; clearAuth: () => Promise; close: () => Promise; }>;