/** * The React triggers on the **web** — inert, by design. Metro resolves this file in place of * `./react`; TypeScript reads the native one, so the two shapes cannot drift. * * Cart Assist reports which cart a *device* is on and adopts the customer's shared cart in its place. * Running that from a browser preview would move the pointer on the shopper's real customer record — * the one their phone and the web store read — so the honest web behaviour is to do nothing rather * than to sync something no one asked to sync. * * The client itself is untouched: `configureCartSync` and `CartSyncClient` are plain fetch and work * anywhere, so a host that genuinely wants a browser to report a cart can still drive them directly. * Only these mount-once triggers are stood down. */ import type { CartSyncClient } from "./client"; import type { UseCartSyncOptions } from "./react"; export type { UseCartSyncOptions }; /** Matches the native signature so call sites never branch; the returned `sync` does nothing. */ export declare function useCartSync(_options: UseCartSyncOptions): { sync: () => void; }; export declare function useCartSyncCheckedOut(_client: CartSyncClient, _resolveCustomerGid: () => string | null | undefined): (cartId: string | null) => Promise; //# sourceMappingURL=react.web.d.ts.map