export declare const useWallet: () => {
    open: boolean;
    account: string | null | undefined;
    library: any;
    chainId: number | undefined;
    connector: import("@web3-react/abstract-connector").AbstractConnector | undefined;
    error: string | null;
    setOpen: (value: boolean) => void;
    deactivate: () => void;
    setError: (value: string | null) => void;
};
