import { CommerceLine } from '@components/frontStore/commerceEventData.js'; interface CheckoutCompletedEventProps { order: { uuid: string; orderNumber: string; currency: string; coupon?: string | null; placedAt?: { value?: string | null; } | null; paymentStatus?: { code?: string | null; } | null; totalTaxAmount?: { value: number; } | null; shippingFeeExclTax?: { value: number; } | null; grandTotal?: { value: number; } | null; items: CommerceLine[]; } | null; } /** * Publishes the `checkout_completed` commerce event on the order success * page, once per order in this browser: a reload, or the page opened again, * publishes nothing (localStorage). The event id is the order uuid. Renders * nothing. */ export default function CheckoutCompletedEvent({ order }: CheckoutCompletedEventProps): null; export declare const layout: { areaId: string; sortOrder: number; }; export declare const query = "\n query Query {\n order (uuid: getContextValue('orderId')) {\n uuid\n orderNumber\n currency\n coupon\n placedAt {\n value\n }\n paymentStatus {\n code\n }\n totalTaxAmount {\n value\n }\n shippingFeeExclTax {\n value\n }\n grandTotal {\n value\n }\n items {\n productId\n variantGroupId\n productSku\n productName\n qty\n thumbnail\n productUrl\n finalPrice {\n value\n }\n finalPriceInclTax {\n value\n }\n lineTotal {\n value\n }\n lineTotalWithDiscount {\n value\n }\n variantOptions {\n optionText\n }\n category {\n name\n }\n }\n }\n }\n"; export {};