import { Checkpoint } from "../Cart"; export interface CheckpointWithProgress extends Checkpoint { progressPercentage: number; } export interface MultiStepProgressBarProps { currentCartAmount: number; checkpoints: Checkpoint[]; themeColor?: string; themeTextColor?: string; handleCheckpointCrossed?: (checkpoint: Checkpoint, cartAmount: number) => Promise; customCartProgressBarCriteria: string; primaryTextColor?: string; secondaryTextColor?: string; showMOVForProgressTiers?: boolean; effectiveQuantityForProgressBar?: number; progressBarFreeProductIconType?: string; ctaButtonBackgroundColor?: string; ctaButtonTextColor?: string; prefixMessageText?: string; suffixMessageText?: string; successMessageText?: string; enableConfetti?: boolean; } export interface CheckpointTooltipProps { showMOVForProgressTiers: boolean | undefined; minimumOrderValue: number; customCartProgressBarCriteria: string; cartData: any; quantityThreshold: number; ctaButtonBackgroundColor?: string; ctaButtonTextColor?: string; } export interface CheckpointIconProps { checkpointWithProgress: CheckpointWithProgress; themeColor?: string; checkpointsLength: number; progressBarFreeProductIconType?: string; themeTextColor?: string; ctaButtonTextColor?: string; } export interface NextRewardMessageProps { currentCartAmount: number; checkpoints: Checkpoint[]; cartData: any; customCartProgressBarCriteria: string; effectiveQuantityForProgressBar?: number; themeColor?: string; primaryTextColor?: string; showMOVForProgressTiers: boolean; ctaButtonBackgroundColor?: string; prefixMessageText?: string; suffixMessageText?: string; successMessageText?: string; ctaButtonTextColor?: string; }