/******************************************************************** * ADOBE CONFIDENTIAL * __________________ * * Copyright 2024 Adobe * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Adobe and its suppliers, if any. The intellectual * and technical concepts contained herein are proprietary to Adobe * and its suppliers and are protected by all applicable intellectual * property laws, including trade secret and copyright laws. * Dissemination of this information or reproduction of this material * is strictly forbidden unless prior written permission is obtained * from Adobe. *******************************************************************/ import { FunctionComponent, VNode } from 'preact'; import { HTMLAttributes } from 'preact/compat'; import { JSXInternal } from 'preact/src/jsx'; export interface OrderSummaryLineItem { key: string; title?: string; className?: string; sortOrder: number; content: string | JSXInternal.Element | VNode> | OrderSummaryLineItem[] | undefined; } export interface OrderSummaryProps extends Omit, 'loading'> { variant?: 'primary' | 'secondary'; heading?: VNode>; loading?: boolean; subTotal?: { price: VNode>; priceExcludingTax?: VNode>; taxIncluded?: boolean; taxExcluded?: boolean; zeroTaxSubtotal?: boolean; }; shipping?: VNode>; discounts?: { label: string; price: VNode>; caption?: VNode>; coupon?: VNode>; }[]; taxTotal?: { price: VNode>; estimated?: boolean; }; taxesApplied?: { label: string; price: VNode>; }[]; total?: { price: VNode>; estimated?: boolean; priceWithoutTax?: VNode>; }; printedCard?: { renderContent: boolean; taxIncluded: boolean; taxInclAndExcl: boolean; priceExclTax: VNode>; priceInclTax: VNode>; }; itemsGiftWrapping?: { renderContent: boolean; taxIncluded: boolean; taxInclAndExcl: boolean; priceExclTax: VNode>; priceInclTax: VNode>; }; orderGiftWrapping?: { renderContent: boolean; taxIncluded: boolean; taxInclAndExcl: boolean; priceExclTax: VNode>; priceInclTax: VNode>; }; primaryAction?: VNode>; coupons?: VNode>; giftCards?: VNode>; totalSaved?: VNode>; appliedGiftCards?: { label: VNode> | string; price: VNode>; content?: VNode[]; }; updateLineItems?: (lineItems: Array) => Array; } export declare const OrderSummary: FunctionComponent;