import * as CheckoutApi from "@noaignite/centra-types";
//#region src/PaymentEmbed.d.ts
interface PaymentEmbedProps {
  values: Record<string, unknown>;
  onPaymentSuccess?: (paymentResult: CheckoutApi.SuccessResponse<CheckoutApi.Payment>) => void;
  onPaymentError?: (error: CheckoutApi.Errors) => void;
}
/** This component handles rendering of payment widgets such as Klarna Checkout and Adyen drop-in, if you submit payments yourself directly,
you should simply call the submitPayment method of the context instead */
declare const PaymentEmbed: import("react").MemoExoticComponent<(props: PaymentEmbedProps) => React.ReactElement | null>;
//#endregion
export { PaymentEmbed, PaymentEmbedProps };
//# sourceMappingURL=PaymentEmbed.d.ts.map