import type { ShippingContext } from '../../../../types/shippingProvider.js'; interface CartItemLike { getData(key: string): unknown; } interface CartLike { getData(key: string): unknown; getItems(): CartItemLike[]; } /** * Compute a fingerprint for the cart's shipping-relevant state, directly from * the live cart DataObject. Used inside the `shipping_method_data` resolver. * * Origin is intentionally NOT in the fingerprint — origin changes when admin * reconfigures the store address, not when the customer changes the cart, and * is too rare an event to invalidate cached quotes per-cart. */ export declare function computeFingerprintFromCart(cart: CartLike): string; /** * Compute a fingerprint from a `ShippingContext`. Used by the per-request * memoization layer for `provider.getMethods`. * * Produces the same hash as `computeFingerprintFromCart` for the same logical * cart state — the two helpers MUST stay in sync if the algorithm changes. */ export declare function computeFingerprintFromCtx(ctx: ShippingContext): string; export {};