import React from "react"; import "./shared.scss"; import { Checkpoint } from "./Cart"; import type { UploadImageState } from "./UploadImageSection"; export interface trustedBadgeInterface { enableTrustedBadge: boolean; badgeImage: { id: string; path: string; }; } interface CheckoutSectionProps { isCartPageEnabled?: boolean; checkoutButtonColor?: string; checkoutFontSize: string | number; checkoutFunction: (templateId?: number) => Promise; discountApplied?: boolean; discountInCheckoutButton?: boolean | string; isStickyCheckout?: boolean; discountAmountApplied?: number; minimumCartValue?: number; themeTextColor?: string; applyGSTToCart?: (gstNumber: string, companyName: string) => Promise; showGSTOption?: boolean; applyNoteToCart?: (note: string) => Promise; showNoteOption?: boolean; enableGeoLocationDeliveryRestriction?: boolean; applyPostalCodeAndDeliverySlotToCart?: (deliveryType: string, postalCode?: string, deliverySlot?: string) => Promise; enableSlotPicker?: boolean; cartComponentsCornerType?: "rounded" | "sharp"; cartComponentsCornerRadius?: number; checkoutSectionMessage?: string; checkoutSectionMessageRedirectLink?: string; checkoutSectionMessageDisplay?: "ribbon" | "tag" | "bookmark"; showDiscountOnMRP?: boolean; tertiaryColor?: string; tertiaryTextColor?: string; cartCheckpoints?: Checkpoint[]; toggleDecimal?: boolean; disableCheckoutButton: boolean; checkoutButtonBottomSpacing?: number; showCheckoutButtonPaymentIcons?: boolean; primaryTextColor?: string; hideSubtotalAndBadge?: boolean; showTrustedBadge?: boolean; trustedBadgeData?: trustedBadgeInterface; isLargeScreen?: boolean; uploadImageStatus?: UploadImageState["status"]; uploadImageRequired?: boolean; onUploadImageRequired?: () => void; } declare function CheckoutSection({ isCartPageEnabled, checkoutButtonColor, checkoutFontSize, checkoutFunction, discountApplied, discountInCheckoutButton, discountAmountApplied, minimumCartValue, themeTextColor, applyGSTToCart, showGSTOption, applyNoteToCart, showNoteOption, enableGeoLocationDeliveryRestriction, applyPostalCodeAndDeliverySlotToCart, enableSlotPicker, isStickyCheckout, cartComponentsCornerType, cartComponentsCornerRadius, checkoutSectionMessage, checkoutSectionMessageDisplay, checkoutSectionMessageRedirectLink, showDiscountOnMRP, tertiaryColor, tertiaryTextColor, cartCheckpoints, toggleDecimal, disableCheckoutButton, checkoutButtonBottomSpacing, showCheckoutButtonPaymentIcons, primaryTextColor, hideSubtotalAndBadge, showTrustedBadge, trustedBadgeData, isLargeScreen, uploadImageStatus, uploadImageRequired, onUploadImageRequired, }: CheckoutSectionProps): React.JSX.Element; export default CheckoutSection;