import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { BillingAdapter, ResolvedConfig } from "../types.js"; import { type PlanCatalog } from "../plans.js"; import { type ToolCapabilities } from "../plan-model.js"; import type { Notify } from "../notifications/index.js"; import type { UsageLedger } from "../usage-ledger.js"; export declare function registerManagementTools(server: McpServer, adapter: BillingAdapter, config: ResolvedConfig, opts?: { plans?: PlanCatalog; resolvePlan?: (orgId: string) => Promise; /** * The ledger the METER reads. Absent falls back to the default composite. * * It has to be the app's own or these tools answer a different question from the gate: * the default routes per-caller reads to balance transactions alone, so on a deployment * whose per-seat usage is INCLUDED (nothing moves money) every caller-scoped window * reads 0 — `get_usage_limits` reporting allowance a call would be refused for. */ usageLedger?: UsageLedger; /** Say that somebody asked, or that an admin answered. See `notifications/`. */ notify?: Notify; }, caps?: ToolCapabilities): void; //# sourceMappingURL=management.d.ts.map