import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import type { PhototologyClient } from '@phototology/sdk'; import { type ListLensesOutput } from '../schemas'; /** * Reshape the SDK's `{ modules, presets }` response into the MCP's * brand-aligned `{ lenses, stacks }`. The inner `modules: string[]` field on * each preset (its constituent lens names) is also renamed to `lenses` so the * MCP output is consistent end-to-end. `billable`, `defaultColumns`, and the * optional `internal` flag pass through unchanged so agents can make pricing * decisions, derive default spreadsheet projections, and avoid routing users * to lenses that are reachable only via a curated stack. * * Prices are added per photo: each lens carries `credits` (1 if billable, * else 0) and each stack carries `credits` (its billable member lenses, looked * up in the same catalog; a member the catalog does not list bills nothing) * and `usdPerPhoto`. * * Shared by the `list_lenses` tool and the `phototology://lenses` resource. */ type SdkLensColumn = { label: string; jsonPath: string; format?: 'string' | 'number' | 'date' | 'percentage' | 'tags' | 'hex' | 'count'; }; type SdkModule = { name: string; description: string; category: string; outputFields: string[]; billable: boolean; defaultColumns: SdkLensColumn[]; internal?: true; }; export declare function reshapeForMcp(sdkResult: { modules: SdkModule[]; presets: Array<{ name: string; description: string; modules: string[]; }>; }): ListLensesOutput; export declare function registerListLenses(server: McpServer, client: PhototologyClient): void; export {}; //# sourceMappingURL=list-lenses.d.ts.map