import { type ExchangeRates, type SwappedFormOfPayment } from '@funkit/api-base'; import type { TFunction } from 'i18next'; /** * Hide Apple Pay where it can't run — `/fops` keys off country, not OS. * Allowlisted so an unknown platform hides it rather than dead-ending the user. */ export declare function excludeUnsupportedPlatformFops(fops: SwappedFormOfPayment[]): SwappedFormOfPayment[]; /** A cash-tab payment row, derived from a Swapped form of payment. */ export interface FopRow { /** Stable id passed back to `onSelectFop`. */ id: string; /** Display name, e.g. "Card", "Apple Pay". */ name: string; /** Subtitle, e.g. "$10,000.00 limit • Instant". */ subtitle: string; /** * Disabled when the FOP has no embedded-flow URL — these are the * "coming soon" placeholders Swapped returns when geoblocked/unavailable. */ disabled: boolean; } /** * Map Swapped forms of payment to Add money rows. Subtitle mirrors the Figma: * `" limit"`, with `" · 1-2 days"` appended for bank transfers (the * only FOP the Figma gives a timing suffix). The limit is the FOP's max * converted to USD via {@link getFopsLimit} (falls back to a default when no * exchange rate is available — RN doesn't fetch rates in V1). */ export declare function toFopRows(t: TFunction, fops: SwappedFormOfPayment[], exchangeRates?: ExchangeRates): FopRow[]; /** * Map Swapped payout methods to Withdraw rows. Deliberately NOT {@link toFopRows}: * its `getFopsLimit` default invents a "$10k limit" when no exchange rate is * available, which would misstate a limit on the user's own money (web's * `getWithdrawalFopsDisclaimerLimit` returns no limit without rates). Subtitle * is timing-only: bank transfers settle in days, everything else is instant. */ export declare function toWithdrawFopRows(t: TFunction, fops: SwappedFormOfPayment[]): FopRow[]; //# sourceMappingURL=fops.d.ts.map