import { ChainType } from "@0xsquid/squid-types";
import { UseMutationResult } from "@tanstack/react-query";
import React, { ReactNode } from "react";
import { SolanaConnector } from "../types/solana";
import { ConnectWalletResult, SolanaWallet } from "../types/wallet";
export interface ISolanaContextData {
    connectSolana: UseMutationResult<ConnectWalletResult<ChainType.SOLANA>, unknown, {
        wallet: SolanaWallet;
    }, unknown>;
    disconnectSolana: () => Promise<void>;
    autoConnectSolana: () => Promise<void>;
    signer: SolanaConnector | undefined;
    wallets: SolanaWallet[];
}
export declare const SolanaContext: React.Context<ISolanaContextData | undefined>;
export declare const SolanaProvider: React.FC<{
    children: ReactNode;
}>;
export declare const useSolanaContext: () => ISolanaContextData;
