/** * @name HostedToolEligibility * @description Guards hosted accountless SAP MCP from charging for tools it cannot execute. */ import type { SapMcpConfig } from '../../config-runtime/src/env.js'; import type { ParsedMcpRequest } from './json-rpc.js'; export interface HostedToolEligibilityFailure { code: number; message: string; data: { reason: string; paymentNotCharged: true; blockedTools: string[]; hostedMode: 'accountless-non-custodial'; recommendedFlow: string; namespaceHint?: string; recommendedTools: string[]; }; } export declare function recommendedToolsForBlockedTools(blockedTools: readonly string[]): string[]; export declare function evaluateHostedToolEligibility(parsedRequest: ParsedMcpRequest, config: Pick): HostedToolEligibilityFailure | undefined; export declare function isHostedAccountlessBlockedTool(toolName: string): boolean; //# sourceMappingURL=hosted-tool-eligibility.d.ts.map