import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "./models/index.js"; export declare class Plans extends ClientSDK { /** * Create plan * * @remarks * Use when defining a new pricing plan (e.g. Free, Pro, Enterprise). Attach prices and entitlements; customers subscribe to plans. */ createPlan(request: models.CreatePlanRequest, options?: RequestOptions): Promise; /** * Query plans * * @remarks * Use when listing or searching plans (e.g. plan picker or admin catalog). Returns a paginated list; supports filtering and sorting. */ queryPlan(request: models.PlanFilter, options?: RequestOptions): Promise; /** * Get plan * * @remarks * Use when you need to load a single plan (e.g. for display or to create a subscription). */ getPlan(id: string, options?: RequestOptions): Promise; /** * Update plan * * @remarks * Use when changing plan details (e.g. name, interval, or metadata). Partial update supported. */ updatePlan(id: string, body: models.UpdatePlanRequest, options?: RequestOptions): Promise; /** * Delete plan * * @remarks * Use when retiring a plan (e.g. end-of-life). Existing subscriptions may be affected. Returns 200 with success message. */ deletePlan(id: string, options?: RequestOptions): Promise; /** * Clone a plan * * @remarks * Clone an existing plan, copying its active prices, published entitlements, and published credit grants */ clonePlan(id: string, body: models.ClonePlanRequest, options?: RequestOptions): Promise; /** * Synchronize plan prices * * @remarks * Use when you have changed plan prices and need to push them to all active subscriptions (e.g. global price update). Returns workflow ID. */ syncPlanPrices(id: string, options?: RequestOptions): Promise; } //# sourceMappingURL=plans.d.ts.map