import React, { PropsWithChildren } from 'react'; import { Cart, CartLineItem } from '../types.js'; /** * Renders children if cart has items * @param props CartItems props * @param props.cart The cart object * @param props.children The children to render if cart has items or a function that receives the line items * @returns The rendered component */ export declare function CartItems(props: { cart?: Cart; children: React.ReactNode | ((lineItems: CartLineItem[]) => React.ReactNode); }): React.JSX.Element | null; export declare function CartEmptyState(props: PropsWithChildren<{ cart?: Cart; }>): React.JSX.Element | null; //# sourceMappingURL=index.d.ts.map