import type { TFunction } from 'i18next'; /** * Why verification stopped, and what the buyer may do about it. * * A retry rides on `network` alone. This alert is the bucket for a condition * we did not model: every outcome we understand has a screen of its own — a * rejection banner, the options card, a refusal over the live amount. Reaching * this alert means we have nothing better to say, so re-running the identical * unmodelled path only walks the buyer back into it. A provider that answered * and gave up is therefore terminal, and the union makes offering it a retry * unrepresentable rather than merely discouraged. */ export type KycUnavailability = { reason: 'network'; onRetry?: () => void; } | { reason: 'provider'; } | { reason: 'providerRetryable'; onDismiss?: () => void; }; export declare function showKycUnavailableAlert(t: TFunction, unavailability: KycUnavailability): void; /** * A surface that never loaded is a connection problem; only a provider that * answered and gave up should send the user to support. */ export declare function surfaceFailureReason(code: string): 'network' | 'provider'; //# sourceMappingURL=kycUnavailableAlert.d.ts.map