import type { Enrollment, EnrollmentPlan } from '@unchainedshop/core-enrollments'; import type { Address, Contact } from '@unchainedshop/core-users'; import type { Modules } from '../modules.ts'; export interface CreateEnrollmentParams { productId: string; quantity?: number; configuration?: EnrollmentPlan['configuration']; billingAddress?: Address; contact?: Contact; payment?: Enrollment['payment']; delivery?: Enrollment['delivery']; meta?: any; countryCode: string; currencyCode: string; userId: string; } export declare function createEnrollmentService(this: Modules, params: CreateEnrollmentParams): Promise;