import { type PoolClient } from '@evershop/postgres-query-builder'; import type { Address } from '../../../types/address.js'; /** * Saved address → cart, "sync in both directions" (spec § 3.1, § 3.8). A * logged-in customer reusing an address-book entry sends * `{ customerAddressUuid }` instead of re-posting the fields the form shows; * the saved row is copied verbatim — every shared column and `extra` — so a * field collected only in the address book (an extra scoped to the `account` * surface) reaches the cart and, from there, the order. Ownership is checked * against the cart's customer; the copy is then normalized and validated like * any other write. */ export declare function resolveSavedCartAddress(addressData: Address, cart: { customer_id?: number | null; }, connection: PoolClient): Promise
;