import { ConnectorUpdate } from '@web3-react/types';
import { AbstractConnector } from '@web3-react/abstract-connector';
import type { default as IWeb3Modal, ICoreOptions } from 'web3modal';
export declare class Web3ModalConnector extends AbstractConnector {
    options: Partial<ICoreOptions>;
    provider?: any;
    web3Modal?: IWeb3Modal;
    constructor(options: Partial<ICoreOptions>);
    private handleChainChanged;
    private handleAccountsChanged;
    private handleDisconnect;
    load(): Promise<void>;
    activate(): Promise<ConnectorUpdate>;
    getProvider(): Promise<any>;
    getChainId(): Promise<number | string>;
    getAccount(): Promise<null | string>;
    deactivate(): void;
}
export declare const connector: Web3ModalConnector;
