import type { CapabilitiesInputT } from "../schemas.js"; import type { AssetType } from "../types.js"; import { type ApiAvailability, type Mode } from "../modes.js"; /** * Tool: asset_capabilities * * Read-only inventory of what this MCP server can actually do right now. * Claude (the hosting LLM) calls this before offering the user options, * so the "would you like inline SVG, paste-it-yourself, or server-driven * generation?" question is grounded in actual env state. * * No network calls. Cheap enough to call on every asset request. */ export interface CapabilitiesResult { inline_svg: { available: true; eligible_asset_types: AssetType[]; notes: string; }; external_prompt_only: { available: true; eligible_asset_types: AssetType[]; supported_services: string[]; notes: string; }; api: { available: boolean; providers: ApiAvailability; unconfigured_env_vars: string[]; notes: string; }; /** * Zero-key and free-tier routes the user can run without paying anything. * `api.available` becomes true whenever at least one of these works too — * but this block is surfaced separately so users know what's free vs. paid. */ free_api: { available: boolean; routes: Array<{ id: string; how: string; quality: string; catch: string; url?: string; }>; notes: string; }; modes_by_asset_type: Record; providers_registered: Array<{ id: string; family: string; provider_key_env: string | null; provider_key_env_aliases?: string[]; key_set: boolean; native_rgba: boolean | "partial"; native_svg: boolean; paste_only: boolean; free_tier: boolean; }>; hints: string[]; } export declare function capabilities(input: CapabilitiesInputT): Promise; //# sourceMappingURL=capabilities.d.ts.map