import { ChainData, Token } from "@0xsquid/squid-types";
import { UseQueryResult } from "@tanstack/react-query";
type ToolbarAction = {
    type: "fitGas";
} | {
    type: "addTrustLine";
} | {
    type: "associateToken";
} | {
    type: "getHBAR";
} | {
    type: "fitAmount";
    amount: string;
};
type Params = {
    priceImpactStatus?: string;
    fromAmount?: string;
    toAmount?: bigint;
    minAmountValueWarnMsg?: string;
    isGasBalanceEnough: boolean;
    fromTokenPaysGasFees: boolean;
    squidRouteError: unknown;
    sourceChainFeeToken?: Token;
    destChainNativeToken: Token | undefined;
    fromToken: Token | undefined;
    toToken: Token | undefined;
    toChain: ChainData | undefined;
    fromBalanceEnoughToSwap: boolean;
    isFetchingEstimate: boolean;
    isConnectedOnSource: boolean;
    isDestinationAddressSet: boolean;
    isDestinationAddressConnected: boolean;
    destinationAddress: string | undefined;
    degenMode?: boolean;
    gasBalanceNeeded: string | undefined;
    xrplAccountActivatedInfoQuery: UseQueryResult<{
        isActivated: boolean;
        reserveBaseBn: bigint;
    } | null>;
    stellarAccountActivatedInfoQuery: UseQueryResult<{
        isActivated: boolean;
        reserveBaseBn: bigint;
    } | null>;
    isXrplTrustLineApprovedQuery: UseQueryResult<boolean>;
    isStellarTrustLineApprovedQuery: UseQueryResult<boolean>;
    isTokenAssociatedQuery: UseQueryResult<boolean>;
    isHederaAccountActivated: boolean;
};
export declare const getSwapError: ({ priceImpactStatus, fromAmount, toAmount, minAmountValueWarnMsg, isGasBalanceEnough, fromTokenPaysGasFees, squidRouteError, sourceChainFeeToken, destChainNativeToken, fromToken, toToken, toChain, fromBalanceEnoughToSwap, isFetchingEstimate, isConnectedOnSource, isDestinationAddressSet, degenMode, gasBalanceNeeded, destinationAddress, isDestinationAddressConnected, xrplAccountActivatedInfoQuery, stellarAccountActivatedInfoQuery, isXrplTrustLineApprovedQuery, isStellarTrustLineApprovedQuery, isTokenAssociatedQuery, isHederaAccountActivated, }: Params) => {
    swapConfigError?: string;
    toolbarError?: string;
    toolbarAction?: ToolbarAction;
};
export {};
