import React from 'react'; interface SavedCartItem { cartItemId: string; productName: string; thumbnail?: string | null; qty: number; variantOptions?: Array<{ optionId: number; attributeName: string; optionText: string; }>; lineTotal?: { text: string; }; lineTotalInclTax?: { text: string; }; } interface CartRecoverConfirmProps { cartRecoveryStatus: 'ready' | 'restored' | 'invalid' | null; cartRecoveryItems?: SavedCartItem[]; homeUrl: string; cartUrl: string; } /** * `/cart/recover` (`index.ts` decides): for a valid link, the saved cart's * products and the "Restore my cart" button (opening the link changes * nothing, only the button does); for a link used already, a way to the * cart; otherwise the message for a link that no longer works. A plain * form, so the button works before the page is hydrated. */ export default function CartRecoverConfirm({ cartRecoveryStatus, cartRecoveryItems, homeUrl, cartUrl }: CartRecoverConfirmProps): React.JSX.Element; export declare const layout: { areaId: string; sortOrder: number; }; export declare const query = "\n query Query {\n cartRecoveryStatus\n cartRecoveryItems {\n cartItemId\n productName\n thumbnail\n qty\n variantOptions {\n optionId\n attributeName\n optionText\n }\n lineTotal {\n text\n }\n lineTotalInclTax {\n text\n }\n }\n homeUrl: url(routeId: \"homepage\")\n cartUrl: url(routeId: \"cart\")\n }\n"; export {};