/** * Payment module * * Uses the unified IPC socket for payment signing. * The MCP process never holds private keys — it delegates signing * to the `openmm serve` process via /tmp/openmm.sock. */ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import type { ToolPricing } from '@qbtlabs/x402'; export interface JWTClaims { user_id: string; exchange: string; tool: string; issued_at: number; expires_at: number; payment_tx: string; } export declare const TOOL_PRICING: Record; export declare function isX402Enabled(): boolean; /** * Check if the unified IPC socket is available for signing. */ export declare function initPaymentClient(): Promise; export declare function isPaymentClientEnabled(): boolean; /** * Wrap an McpServer with the split payment flow. * Uses UnifiedIPCClient for signing — private key never in this process. */ export declare function wrapServerWithPayment(server: McpServer): Promise; //# sourceMappingURL=index.d.ts.map