import { ChainType } from "@0xsquid/squid-types";
import { UseMutationResult } from "@tanstack/react-query";
import React, { ReactNode } from "react";
import { ConnectWalletResult, XrplWallet } from "../types/wallet";
import { XrplConnector } from "../types/xrpl";
export interface IXrplContextData {
    connectXrpl: UseMutationResult<ConnectWalletResult<ChainType.XRPL>, unknown, {
        wallet: XrplWallet;
    }, unknown>;
    disconnectXrpl: () => Promise<void>;
    autoConnectXrpl: () => Promise<void>;
    signer: XrplConnector | undefined;
    wallets: XrplWallet[];
}
export declare const XrplContext: React.Context<IXrplContextData | undefined>;
export declare const XrplProvider: React.FC<{
    children: ReactNode;
}>;
export declare const useXrplContext: () => IXrplContextData;
