import { CheckoutData } from '../../../types/checkoutData.js'; /** * Hookable wrapper for the checkout service. * This allows third-party extensions to hook before or after the checkout process. */ export declare function checkout(cartId: string, data: CheckoutData, context?: Record): Promise; export declare function hookBeforeCheckout(callback: (this: { cartId: string; data: CheckoutData; [key: string]: unknown; }, ...args: [ cartId: string, data: CheckoutData, context: Record ]) => void | Promise, priority?: number): void; export declare function hookAfterCheckout(callback: (this: { cartId: string; data: CheckoutData; [key: string]: unknown; }, ...args: [ cartId: string, data: CheckoutData, context: Record ]) => void | Promise, priority?: number): void;