import React from "react"; import type { uploadImageAddonInterface } from "./Cart"; export type UploadImageState = { file?: UploadedImageFile; items: Array<{ image?: string; key: string; quantity: number; title: string; variantId: string; }>; status: "checking" | "error" | "not-required" | "optional" | "required" | "uploaded"; }; type UploadImageSectionProps = { ctaButtonBackgroundColor?: string; highlighted?: boolean; onFileSelected: (file: File | null) => void; onRemove: () => void; primaryTextColor?: string; required?: boolean; tertiaryColor?: string; tertiaryTextColor?: string; uploadImageAddonData?: uploadImageAddonInterface; uploadedFile: UploadedImageFile | null; }; export type UploadedImageFile = { name: string; url: string; }; declare const UploadImageSection: React.ForwardRefExoticComponent>; export default UploadImageSection;