import { JsonRpcProvider } from '@ethersproject/providers';
import { Actions, Connector } from '@web3-react/types';
export default class JsonRpcConnector extends Connector {
    customProvider: JsonRpcProvider;
    constructor(actions: Actions, customProvider: JsonRpcProvider, onError?: (error: Error) => void);
    private activateAccounts;
    connectEagerly(): Promise<void>;
    activate(): Promise<void>;
}
