import { type Client } from '../core.js'; import { type Result, type RequestOptions } from '../lib/types.js'; import type { ListPlansRequest, ListPlansResponse, CreatePlanRequest, CreatePlanResponse, UpdatePlanRequest, UpdatePlanResponse, GetPlanRequest, GetPlanResponse, DeletePlanRequest, DeletePlanResponse, ArchivePlanRequest, ArchivePlanResponse, PublishPlanRequest, PublishPlanResponse } from '../models/operations/plans.js'; /** * List plans * * List all plans. * * GET /openmeter/plans */ export declare function listPlans(client: Client, req?: ListPlansRequest, options?: RequestOptions): Promise>; /** * Create plan * * Create a new plan. * * POST /openmeter/plans */ export declare function createPlan(client: Client, req: CreatePlanRequest, options?: RequestOptions): Promise>; /** * Update plan * * Update a plan by id. * * PUT /openmeter/plans/{planId} */ export declare function updatePlan(client: Client, req: UpdatePlanRequest, options?: RequestOptions): Promise>; /** * Get plan * * Get a plan by id. * * GET /openmeter/plans/{planId} */ export declare function getPlan(client: Client, req: GetPlanRequest, options?: RequestOptions): Promise>; /** * Delete plan * * Delete a plan by id. * * DELETE /openmeter/plans/{planId} */ export declare function deletePlan(client: Client, req: DeletePlanRequest, options?: RequestOptions): Promise>; /** * Archive plan version * * Archive a plan version. * * POST /openmeter/plans/{planId}/archive */ export declare function archivePlan(client: Client, req: ArchivePlanRequest, options?: RequestOptions): Promise>; /** * Publish plan version * * Publish a plan version. * * POST /openmeter/plans/{planId}/publish */ export declare function publishPlan(client: Client, req: PublishPlanRequest, options?: RequestOptions): Promise>;