import type { TCustomer } from '@blocklet/payment-types';
export type StripeCheckoutFormProps = {
    clientSecret: string;
    intentType: string;
    customer: TCustomer;
    mode: string;
    onConfirm: Function;
    returnUrl?: string;
    submitButtonText?: string;
};
export type StripeCheckoutProps = {
    clientSecret: string;
    intentType: string;
    publicKey: string;
    mode: string;
    customer: TCustomer;
    onConfirm: Function;
    onCancel: Function;
    returnUrl?: string;
    title?: string;
    submitButtonText?: string;
};
export default function StripeCheckout({ clientSecret, intentType, publicKey, mode, customer, onConfirm, onCancel, returnUrl, title, submitButtonText, }: StripeCheckoutProps): import("react").JSX.Element;
