import { FullAddressData, OnrampConfigResponse } from "@0xsquid/react-hooks";
import type { ChainData, RouteActionResponse, Token } from "@0xsquid/squid-types";
import { ChainType } from "@0xsquid/squid-types";
import { TokenWithBalance } from "../../core/types/tokens";
import { SwapDirection } from "../../core/types/types";
export declare const sortTokens: (a: TokenWithBalance, b: TokenWithBalance, oppositeDirectionToken?: Token, sortWithSubgraphIds?: boolean) => 0 | 1 | -1;
export declare function getActionProviderImage({ logoURI, }: Pick<RouteActionResponse, "logoURI">): string;
export declare function stringIncludes(str1?: string, str2?: string): boolean;
type TokenWithSubgraphs = Pick<Token, "symbol" | "address" | "chainId" | "subGraphIds">;
export declare const isTokenBlocked: ({ token, direction, fromToken, fromChain, }: {
    token: TokenWithSubgraphs & {
        type: ChainType;
    };
    direction: SwapDirection;
    fromToken: TokenWithSubgraphs | undefined;
    fromChain: Pick<ChainData, "chainType" | "chainId"> | undefined;
}) => boolean;
/**
 * Validates if a path between two chains is supported
 * If the path is not supported, returns a message that can be displayed to the user
 *
 * @param fromChain - source chain
 * @param toChain - destination chain
 * @param fromToken - source token - used to check if the token supports the route (e.g. Hedera ITS)
 * @returns a message if the path is not supported, undefined otherwise
 */
export declare const validateChainsPath: (fromChain: Pick<ChainData, "chainType" | "chainId" | "networkName">, toChain: Pick<ChainData, "chainType" | "chainId" | "networkName">, fromToken: Pick<Token, "subGraphIds">) => string | undefined;
export declare const defaultAssetsColors: {
    chainBg: string;
    tokenBg: string;
    tokenText: string;
};
export declare const getTokensForFiatOnRampView: <T extends Token>({ onRampConfig, tokens, }: {
    tokens: T[];
    onRampConfig: OnrampConfigResponse | undefined;
}) => T[];
export declare const getTokensForSendView: ({ isConnected, isFetchingBalances, tokens, }: {
    tokens: TokenWithBalance[];
    isConnected: boolean;
    isFetchingBalances: boolean;
}) => TokenWithBalance[];
export declare const getEnsAvatar: (address: FullAddressData | undefined) => string | undefined;
export declare const isNativeXrplToken: (token: Pick<Token, "chainId" | "address">) => boolean;
export declare const isNativeStellarToken: (token: Pick<Token, "chainId" | "address">) => boolean;
export declare const filterTokenForChain: (token: TokenWithBalance, chainId: string | null) => boolean;
export {};
