import { CountryWithCode, FiatCurrencyEnhanced } from "../../core/types/onramps/onramp"; interface CountryResponse { countryName: string; countryCode: string; } export declare const getUserCountry: () => Promise; /** * Get country data from country code * TODO: Host the flags on our own CDN * @param countryCode - The country code (e.g., "US", "GB") * @returns Country details including name, flag URL, and other information */ export declare function getCountryData(countryCode: string): CountryWithCode; /** * Get currency data from currency code */ export declare function getCurrencyData(currencyCode: string): FiatCurrencyEnhanced | undefined; /** * Adaptive rounding: rounds value up to a nice number based on its magnitude * e.g. 3840 -> 4000, 38400 -> 40000, 384000 -> 400000 * For values >= 100, round up to the nearest power-of-ten */ export declare const adaptiveRound: (value: number) => number; /** * Get suggested amounts for a given currency code, based on rateAgainstUSD * Returns 3 amounts (low, medium, high) roughly equivalent to $100, $500, $1000 in local currency */ export declare function getSuggestedAmountsForCurrency(currencyCode: string): number[]; export {};