import { IPaymentMethodTab } from './AccountPayment.model'; export interface PaymentContext { /** * Resolved payment methods with vendor connection info and enabled state. * `undefined` while loading; `[]` when the user has no available methods. */ methods: IPaymentMethodTab[] | undefined; isLoading: boolean; isError: boolean; } /** * Wraps today's N+1 payment-method discovery: * 1. GET /PaymentMethod (list) * 2. GET /AppPaymentVendor/PaymentMethod/{id} for each (per-method vendor info) * * When the backend ships a single payment-context endpoint, this hook is the * one file that needs to change — replace the implementation with a single * `useApiQuery` call that returns the same shape and the rest of the form is * unaffected. */ export declare function usePaymentContext(s2sToken?: string, s2sTenantId?: string): PaymentContext; //# sourceMappingURL=usePaymentContext.d.ts.map