import type { McpServer, RegisteredTool, ToolCallback } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { ToolAnnotations } from "@modelcontextprotocol/sdk/types.js"; import type { ZodRawShape } from "zod"; import type { FacilitatorConfig, Network, Price } from "x402/types"; export type RecipientWithTestnet = { address: string; isTestnet?: boolean; }; export type X402Config = { recipient: Partial> | Partial>; facilitator: FacilitatorConfig; version?: number; }; export interface X402AugmentedServer { paidTool(name: string, description: string, price: Price, paramsSchema: Args, annotations: ToolAnnotations, cb: ToolCallback): RegisteredTool; } export declare function withX402(server: S, cfg: X402Config): S & X402AugmentedServer; //# sourceMappingURL=with-x402.d.ts.map