import type { AuthenticationCreds, SignalDataTypeMap } from '../../baileys/lib/index';
export declare function useSession(sessionId: string): Promise<{
    state: {
        creds: AuthenticationCreds;
        keys: {
            get: (type: keyof SignalDataTypeMap, ids: string[]) => Promise<{
                [key: string]: any;
            }>;
            set: (data: any) => Promise<void>;
        };
    };
    saveCreds: () => Promise<void>;
}>;
