/** * @name X402PaidCallTool * @description Local MCP tool that pays and retries hosted SAP MCP x402 calls with the user's SAP MCP profile signer. */ import type { Server } from '@modelcontextprotocol/sdk/server/index.js'; import type { SapMcpContext } from '../../core/src/types.js'; /** * @name registerHostedPrepaidTools * @description Registers only the prepaid fund + balance tools on the hosted server. * The hosted server owns the PrepaidCreditStore that grantAccess checks against. * The bridge calls sap_payments_fund_prepaid via x402 to create a session here, * then passes the sessionId back as X-SAP-Prepaid-Session header for grantAccess. */ export declare function registerHostedPrepaidTools(server: Server, context: SapMcpContext): void; /** * @name registerX402PaidCallTool * @description Registers local hosted-payment tools for agents that need to resolve x402-gated SAP MCP calls. */ export declare function registerX402PaidCallTool(server: Server, _context: SapMcpContext): void; //# sourceMappingURL=x402-paid-call-tool.d.ts.map