//#region src/components/productStockCheckModal/types.d.ts
interface ProductStockCheckModalProps {
  onOpen?: () => void;
  onClose?: () => void;
  onReturn?: (data: any) => void;
  onContinue?: (data: any) => void;
}
interface UnavailableProduct {
  title: string;
  quantity?: number;
  cart_id?: number;
  product_id?: number;
  product_variant_id?: number;
  cover?: string;
  specifications?: string;
  reason_code?: 'stock_not_enough' | string;
  reason?: string;
  selected_quantity?: number;
}
interface ProductStockCheckModalRef {
  open: (params: ModalParams) => void;
  close: () => void;
}
interface ModalParams {
  unavailableProducts?: UnavailableProduct[];
  isAllItemsSoldOut?: boolean;
}
//#endregion
export { ProductStockCheckModalProps, ProductStockCheckModalRef };