import type { Transport } from '@23blocks/contracts'; import type { Purchase, CreatePurchaseRequest } from '../types/purchase.js'; export interface PurchasesService { /** * Create a gateway-agnostic purchase. * * Creates an Order + OrderDetail + Payment + Subscription in a single call. * Use this for free plan activations and server-confirmed purchases instead * of the multi-step register + create-subscription + checkout flow. * * @returns The Purchase record with order, subscription, and payment details. */ create(data: CreatePurchaseRequest): Promise; } export declare function createPurchasesService(transport: Transport, _config: { apiKey: string; }): PurchasesService; //# sourceMappingURL=purchases.service.d.ts.map