/** * Order persistence - API-based implementation. * * Firebase has been removed. Orders are persisted via your backend API. * If no backend is configured, orders are logged but not persisted. */ import type { ActualLineItemSnapshot } from '../actual-line-item'; declare const createOrder: (email: string, items: ActualLineItemSnapshot[], options: { dbName: string; ordersTable: string; }, name?: string) => Promise<{ success: boolean; error: any; id?: string; }>; declare const updateOrderShippingInfo: (orderId: string, shippingInfo: any, options: { dbName: string; ordersTable: string; }) => Promise<{ success: boolean; error: any; }>; declare const updateOrderPaymentInfo: (orderId: string, paymentInfo: any, options: { dbName: string; ordersTable: string; }) => Promise<{ success: boolean; error: any; }>; export { createOrder, updateOrderShippingInfo, updateOrderPaymentInfo };