/******************************************************************** * Copyright 2025 Adobe * All Rights Reserved. * * NOTICE: Adobe permits you to use, modify, and distribute this * file in accordance with the terms of the Adobe license agreement * accompanying it. *******************************************************************/ 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 HTMLAttributes { variant?: 'primary' | 'secondary'; heading?: VNode>; subTotal?: { price: VNode>; priceExcludingTax?: VNode>; taxIncluded?: boolean; taxExcluded?: boolean; }; shipping?: { price: VNode>; priceExcludingTax?: VNode>; taxIncluded?: boolean; taxExcluded?: boolean; }; discounts?: { label: string; price: VNode>; caption?: VNode>; coupon?: VNode>; }[]; taxTotal?: { price: VNode>; }; taxesApplied?: { label: string; price: VNode>; }[]; total?: { price: VNode>; priceWithoutTax?: VNode>; }; totalSaved?: VNode>; updateLineItems?: (lineItems: Array) => Array; } export declare const OrderSummary: FunctionComponent;