import { ChainType } from "@0xsquid/squid-types";
import { UseMutationResult } from "@tanstack/react-query";
import React from "react";
import { EvmConnector } from "../types/evm";
import { ConnectWalletResult, EvmWallet } from "../types/wallet";
export interface IEvmContextData {
    connectEvm: UseMutationResult<ConnectWalletResult<ChainType.EVM>, unknown, {
        wallet: EvmWallet;
    }, unknown>;
    disconnectEvm: () => Promise<void>;
    autoConnectEvm: () => Promise<void>;
    signer: EvmConnector | undefined;
    wallets: EvmWallet[];
}
export declare const EvmContext: React.Context<IEvmContextData | undefined>;
export declare const EvmProvider: React.FC<{
    children: React.ReactNode;
}>;
export declare const useEvmContext: () => IEvmContextData;
