import { Client } from '@web3mq/client';
declare type KeyPairsType = {
    PrivateKey: string;
    PublicKey: string;
    userid: string;
    address: string;
};
declare type MainKeyPairstype = {
    publicKey: string;
    privateKey: string;
    walletAddress: string;
};
declare const useLogin: () => {
    mainKeys: MainKeyPairstype | null;
    keys: KeyPairsType | null;
    fastestUrl: string | null;
    init: () => Promise<void>;
    getAccount: () => Promise<{
        address: string;
        userid: string;
        userExist: boolean;
    }>;
    logout: () => void;
    handleLoginEvent: (eventData: any) => void;
    Client: typeof Client;
};
export default useLogin;
