import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { type PlanCatalog } from "../plans.js"; import { type ToolCapabilities } from "../plan-model.js"; import type { BillingAdapter, ResolvedConfig } from "../types.js"; import type { Notify } from "../notifications/index.js"; export interface SubscriptionToolOptions { plans: PlanCatalog; /** Where Stripe returns after a first-purchase Checkout, which has no * subscription to prorate against. Defaults to `config.baseUrl`: the option is * easy not to know about, and unset it made `change_plan` throw * `needs_return_url` on exactly that path — a refusal the caller cannot act on, * in place of a landing page every deployment already has. */ returnUrl?: string; /** Stripe TaxRate ids for a change, when the account computes its own tax. * Defaults to the rates already on the subscription's items. */ taxRates?: (orgId: string) => Promise | string[]; /** Say that somebody asked to move up. See `notifications/`. */ notify?: Notify; } export declare function registerSubscriptionTools(server: McpServer, adapter: BillingAdapter, config: ResolvedConfig, opts: SubscriptionToolOptions, caps?: ToolCapabilities): void; //# sourceMappingURL=subscription.d.ts.map