import React from "react"; import { Checkpoint } from "../Cart/Cart"; export interface CustomOffer { title: string; description: string; code?: string; terms: string; } export interface ProductsOffersConfigType { sectionType?: "coupon" | "list"; sectionTitle?: string; sectionBackgroundColor?: string; sectionBgContrastColor?: string; cardBackgroundColor?: string; cardBackgroundTransparent?: boolean; textColor?: string; accentColor?: string; roundness?: number; cardPadding?: number; viewDetailsTitle?: string; alignment?: "left" | "middle" | "right"; iconVisibility?: boolean; popupIsolationStrategy?: "revert" | "revert-layer" | "unset" | "initial" | "inherit" | "none"; showBackendOffers?: boolean; customOffers?: CustomOffer[]; } export interface CartCheckpoint extends Checkpoint { customCartProgressBarCriteria?: string | null; discountPercentage?: number | null; discountId?: number | null; } export interface OfferTermsAndConditions { offerMessage: string; terms: string[]; } export declare const getFreebieLabel: (offer: CartCheckpoint) => string; export declare const isGiftIcon: (offer: CartCheckpoint) => boolean; declare const ProductsOffers: ({ offersConfig, offers, }: { offersConfig?: ProductsOffersConfigType | null | undefined; offers: CartCheckpoint[]; }) => React.JSX.Element; export default ProductsOffers;