import { ButtonProps } from "../ui/base/button"; export type ErrorState = { message: string; type?: "" | "error"; }; declare const CheckoutButton: ({ buttonProps, label, onSuccess, onError }: { buttonProps: ButtonProps; label?: string; onSuccess?: () => void | Promise; onError?: () => void | Promise; }) => import("react/jsx-runtime").JSX.Element; export default CheckoutButton;