import { AbstractConnector } from '@web3-react/abstract-connector';
import { AbstractConnectorArguments, ConnectorUpdate } from '@web3-react/types';
export declare const AVALANCHE_NOT_INSTALLED_ERROR = "Avalanche not installed";
export declare class NoAvalancheCoreError extends Error {
    constructor();
}
export declare class AvalancheCoreConnector extends AbstractConnector {
    private provider;
    constructor(kwargs: AbstractConnectorArguments);
    private handleChainChanged;
    private handleAccountsChanged;
    private handleClose;
    private handleNetworkChanged;
    activate(): Promise<ConnectorUpdate>;
    getProvider(): Promise<any>;
    getChainId(): Promise<number | string>;
    getAccount(): Promise<null | string>;
    deactivate(): void;
    isAuthorized(): Promise<boolean>;
}
