import type { TFunction } from 'i18next'; import type { ReactNode } from 'react'; import type { DepositAmountEntryConfig } from './depositFlowConfig'; /** The words and mark the amount screen draws for its rail. */ export interface DepositRailCopy { /** The submit's default label, before the server relabels a step. */ submitLabel: string; /** How the fee drawer names the rail; `undefined` leaves the summary out. */ methodName: string | undefined; /** Badge on the fee line's leading side. */ methodBadge: ReactNode | undefined; } /** * Rail copy comes from the rail, so no host writes "Deposit with Apple Pay": * the SDK names the method in the user's locale and draws its mark. The * deprecated `submitLabel`, `methodName` and `methodBadge` still win while * they are set. */ export declare function resolveDepositRailCopy(config: DepositAmountEntryConfig, paymentMethod: string | undefined, t: TFunction): DepositRailCopy; //# sourceMappingURL=depositRailCopy.d.ts.map