import { PoolClient } from '@evershop/postgres-query-builder'; import { Address } from '../../../types/customerAddress.js'; interface ShippingAddress extends Address { /** * The ID of the shipping address */ cart_address_id: number; } /** * Hookable wrapper for the addShippingAddress service. * This allows third-party extensions to hook into the shipping address addition flow. */ export declare const addShippingAddress: (cartUUID: string, addressData: Address, context?: Record) => Promise; export declare function hookBeforeSaveShippingAddress(callback: (this: Record, ...args: [addressData: Address, connection: PoolClient]) => void | Promise, priority?: number): void; export declare function hookAfterSaveShippingAddress(callback: (this: Record, ...args: [addressData: Address, connection: PoolClient]) => void | Promise, priority?: number): void; export declare function hookBeforeAddShippingAddress(callback: (this: Record, ...args: [ cartUUID: string, addressData: Address, context: Record ]) => void | Promise, priority?: number): void; export declare function hookAfterAddShippingAddress(callback: (this: Record, ...args: [ cartUUID: string, addressData: Address, context: Record ]) => void | Promise, priority?: number): void; export {};