/// import type { PaymentComponentContext, PaymentComponentProps } from "../types"; /** * `PaymentContext` is a context provider for the payment component. * It provides a context that includes the billing address, session ID, country, currency, amount, return URL, and cancel URL. * It also provides a method to create a source for the payment. * * @param {PaymentComponentProps} props - The properties that define the behavior of the Payment Context. * @param {AddressEntry} props.billingAddress - The billing address for the payment. * @param {string} props.sessionId - The session ID for the payment. * @param {string} props.returnUrl - The return URL for the payment. * @param {string} props.cancelUrl - The cancel URL for the payment. * @param {string} props.country - The country for the payment. * @param {string} props.currency - The currency for the payment. * @param {number} props.amount - The amount for the payment. * @param {React.ReactElement | React.ReactElement[]} [props.children] - The child components to be rendered within this context. * * @returns {JSX.Element} A context provider wrapping the children components. */ export declare const PaymentContext: ({ billingAddress, sessionId, returnUrl, cancelUrl, country, currency, amount, children, }: PaymentComponentProps) => JSX.Element; export declare const usePaymentContext: () => PaymentComponentContext; //# sourceMappingURL=paymentComponent.d.ts.map