export declare const CARRIER_CREDIT_PREPAID = 5; export declare const isCarrierCreditPayer: (prepaid?: number | null) => boolean; export declare const CARRIER_CREDIT_NO_ASSOCIATION_MSG = "Payment cannot be completed with this account type. Please sign into a different account to complete payment."; export interface CarrierCreditDisabledState { disable: boolean; msg: string; } /** * Pay-button / iframe disabled state for the carrier-credit gate. A Carrier * Credit payer (prepaid === 5) without a confirmed payer-vendor association is * blocked; every other payer is a no-op. */ export declare const getCarrierCreditDisabledState: (prepaid?: number | null, isPayerAssociated?: boolean) => CarrierCreditDisabledState; /** * Resolves whether a Carrier Credit payer is associated with the vendor. * * Carrier Credit payers (prepaid === 5) may only pay a vendor through the * Watchlist flow when an approved payer-vendor association exists. For any * other payer type — or a guest (not logged in) — the gate is a no-op and this * returns `true`. Fails closed (returns `false`) when the association cannot be * confirmed — whether the lookup errors or the payer/vendor cannot be * determined — since a Carrier Credit payer must not pay a vendor we cannot * confirm an association with. * * Callers resolve `vendorId` themselves because the transaction store shape * differs between components (array vs. keyed object). */ export declare const resolveCarrierCreditAssociation: ({ isLoggedIn, prepaid, payerId, vendorId, token }: { isLoggedIn: boolean; prepaid?: number | null; payerId?: number | null; vendorId?: number | null; token?: string | null; }) => Promise;