#!/usr/bin/env node /** * @name PayShProviderSpec * @description Generates a pay.sh provider YAML for hosted SAP MCP monetization. */ import type { SapMcpConfig } from '../../config-runtime/src/env.js'; /** * @name PayShSpecOptions * @description Options used to generate a pay.sh provider YAML for the hosted MCP endpoint. */ export interface PayShSpecOptions { name: string; subdomain: string; title: string; description: string; version: string; upstreamUrl: string; operatorNetwork: 'mainnet' | 'devnet' | 'localnet'; feePayer: boolean; recipient?: string; rpcUrl?: string; signerPath?: string; } /** * @name DEFAULT_PAY_SH_SPEC_OPTIONS * @description Production defaults for OOBE Protocol's hosted SAP MCP pay.sh provider spec. */ export declare const DEFAULT_PAY_SH_SPEC_OPTIONS: PayShSpecOptions; /** * @name generatePayShProviderYaml * @description Builds a pay.sh provider YAML that proxies paid MCP requests to the SAP MCP HTTP server. */ export declare function generatePayShProviderYaml(config: SapMcpConfig, options?: Partial): string; /** * @name resolvePayShOptions * @description Resolves pay.sh YAML options from explicit overrides and the SAP MCP runtime config. */ export declare function resolvePayShOptions(config: SapMcpConfig, options?: Partial): PayShSpecOptions; /** * @name resolvePayShNetwork * @description Maps SAP MCP RPC/network config to pay.sh operator network aliases. */ export declare function resolvePayShNetwork(config: SapMcpConfig): PayShSpecOptions['operatorNetwork']; //# sourceMappingURL=pay-sh-spec.d.ts.map