import { FiatTransactionHistory } from "../../core/types/history";
import { CountryWithCode, ExecuteFiatQuoteResultClient, ExecuteQuoteClient, FiatCurrencyEnhanced, OnrampConfigResponse, OnrampPaymentMethod, OnrampQuoteResponse, OnrampQuoteResult, OnRampTransactionStatus, OnRampTransactionStatusType } from "../../core/types/onramps/onramp";
export declare const TX_STATUS_CONSTANTS: {
    readonly RETRY_COUNT: 2;
    readonly RETRY_DELAY: 60000;
    readonly REFETCH_INTERVAL: 30000;
};
/**
 * Final transaction statuses that indicate the transaction has reached a terminal state
 */
export declare const FINAL_TRANSACTION_STATUSES: OnRampTransactionStatusType[];
/**
 * Fetches quotes for fiat to crypto conversion with provider details.
 * Returns available rates, fees, and supported payment methods for the conversion.
 */
export declare const useGetFiatQuote: ({ fiatCurrency, cryptoCurrencyID, amount, region, paymentMethod, enabled, onSuccess, }: {
    fiatCurrency: string;
    cryptoCurrencyID: string;
    amount: number;
    region?: string | undefined;
    paymentMethod?: string | undefined;
    enabled?: boolean | undefined;
    onSuccess?: ((quote: OnrampQuoteResponse) => void) | undefined;
}) => import("@tanstack/react-query").UseQueryResult<OnrampQuoteResponse, unknown>;
/**
 * Fetches and caches onramp provider configuration.
 * Includes supported tokens, payment methods, and country restrictions.
 */
export declare const useGetOnRampConfig: () => import("@tanstack/react-query").UseQueryResult<OnrampConfigResponse, unknown>;
/**
 * Executes a fiat to crypto quote and creates an order.
 * Validates wallet address and persists transaction for tracking.
 */
export declare const useExecuteFiatQuote: () => import("@tanstack/react-query").UseMutationResult<ExecuteFiatQuoteResultClient, unknown, Omit<ExecuteQuoteClient, "orderId"> & {
    orderId?: string | undefined;
}, unknown>;
/**
 * Tracks the status of a single fiat to crypto transaction.
 */
export declare const useFiatOnRampTxStatus: (transactionId: string, walletAddress: string, providerId: string) => import("@tanstack/react-query").UseQueryResult<OnRampTransactionStatus | undefined, Error>;
/**
 * Tracks all pending fiat transactions.
 */
export declare const useFiatTransactions: () => {
    transactions: FiatTransactionHistory[];
    isLoading: boolean;
    isError: boolean;
};
/**
 * Gets currency details including symbol and limits.
 * Example: USD → { symbol: "$", name: "US Dollar", ... }
 */
export declare const useCurrencyDetails: (currencyCode?: string) => FiatCurrencyEnhanced | undefined;
/**
 * Gets country details with flag URL and localized name.
 * Example: "US" → { name: "United States", flag: "🇺🇸", ... }
 */
export declare const useCountryDetails: (countryCode?: string) => CountryWithCode | undefined;
/**
 * Filters and returns only valid quotes that have available payment methods.
 * Ensures users only see quotes they can actually use.
 */
export declare const useAvailableQuotes: (quotes: OnrampQuoteResult[] | undefined) => OnrampQuoteResult[];
/**
 * Gets the recommended quote based on best rates or provider preferences.
 * Falls back to first available quote if no specific recommendation.
 */
export declare const useRecommendedQuote: (quotes: OnrampQuoteResult[] | undefined, recommendedQuote?: {
    onrampProviderId: string;
    reason?: string;
}) => OnrampQuoteResult | undefined;
/**
 * Fetches the available payment methods for a given fiat and crypto currency pair.
 * The first item in the returned array is the most recommended.
 */
export declare const useGetOnrampPaymentTypes: ({ fiatCurrency, cryptoCurrencyID, region, enabled, }: {
    fiatCurrency: string;
    cryptoCurrencyID: string;
    region?: string | undefined;
    enabled?: boolean | undefined;
}) => import("@tanstack/react-query").UseQueryResult<OnrampPaymentMethod[], unknown>;
/**
 * Returns 3 suggested fiat amounts for the given currency code, based on rateAgainstUSD
 */
export declare function useSuggestedFiatAmounts(currencyCode?: string): number[];
