import { SwapTransactionHistory, TransactionStatus, PatchedRouteActionResponse } from "@0xsquid/react-hooks";
import type { ChainData, Token } from "@0xsquid/squid-types";
import { ActionStatus, SwapStep } from "@0xsquid/ui";
import { SwapState } from "../../core/types/transaction";
export declare const formatTransactionHistoryDate: (timestamp: number | string | undefined) => {
    month: string;
    day: string;
} | undefined;
/**
 * Formats a YYYY-MM date string with the following rules:
 * - "This month" if the date is in the current month
 * - "<month>" if the date is in a previous month of the current year (e.g "February")
 * - "<month> <year>" if the date is in a previous year (e.g "February 2022")
 * @param yearMonthKey - YYYY-MM date string
 * @returns formatted date string
 */
export declare function getMonthFormatted(yearMonthKey: string): string;
export declare const getAxelarExplorerTxUrl: (urlPrefix: string | undefined, routeType: string | undefined, txID: string) => string | undefined;
export declare const getMainExplorerUrl: (transaction: Pick<SwapTransactionHistory, "transactionId" | "statusResponse" | "routeType" | "sourceTxExplorerUrl" | "actions"> & {
    sourceChainObject: ChainData | undefined;
}) => {
    url: string;
    name: string;
} | undefined;
export declare const getSwapStateFromTxStatus: (txStatus?: TransactionStatus) => SwapState;
export declare const getSwapStateItemStatus: ({ stepStatus, }: {
    stepStatus?: TransactionStatus;
}) => ActionStatus;
export declare const getConfirmInWalletStep: ({ txStatus, }: {
    txStatus?: TransactionStatus;
}) => SwapStep;
type SimplifiedToken = Pick<Token, "symbol" | "logoURI">;
type SimplifiedRouteActionResponse = Pick<PatchedRouteActionResponse, "description"> & {
    fromToken: SimplifiedToken;
    toToken: SimplifiedToken;
};
export type GetDescriptionBlocksParams = {
    action: SimplifiedRouteActionResponse;
    toChain?: Pick<ChainData, "networkName" | "chainIconURI">;
};
export declare function getDescriptionBlocks({ action, toChain, }: GetDescriptionBlocksParams): SwapStep["descriptionBlocks"];
export declare function getTokenExplorerUrl({ tokenAddress, chain, }: {
    tokenAddress: string;
    chain: Pick<ChainData, "blockExplorerUrls" | "chainType" | "chainId"> | undefined;
}): string | undefined;
export {};
