/** * @example * const { chargeAndPay, isLoadingCharge, chargeError } = useChargeAndPay(); * * if (isInSufficientBalance) { * chargeAndPay({ * chargeAmount: data?.amount, * clientUniqueId: data?.clientUniqueId as string, * walletNumber: selectedWallet.number!, * }); * } */ declare const useChargeAndPay: ({ getAfterPayRedirectUri, redirectToPayLink, }: { getAfterPayRedirectUri: (clientUniqueId: string) => string; redirectToPayLink: (paymentLink: string) => string; }) => { chargeAndPay: import("@tanstack/react-query").UseMutateFunction; isLoadingCharge: boolean; chargeError: unknown; }; export { useChargeAndPay }; //# sourceMappingURL=index.d.ts.map