import type { Order, OrderPosition } from '@unchainedshop/core-orders'; import type { Product } from '@unchainedshop/core-products'; import type { Enrollment } from '@unchainedshop/core-enrollments'; import type { Modules } from '../modules.ts'; export declare function createEnrollmentFromCheckoutService(this: Modules, order: Order, { items, context, }: { items: { orderPosition: OrderPosition; product: Product; }[]; context: { paymentContext?: any; deliveryContext?: any; }; }): Promise;