import type { ReadResourceResult } from "@modelcontextprotocol/sdk/types.js"; import { type StorybookManifestClient } from "../../shared/clients/storybookManifestClient.js"; import { ResourceBase } from "../../shared/index.js"; import { z } from "zod"; /** * Lightweight catalog of Dynamic UI components. * * Serves the keys of `components.json` with a small projection — id, name, * key (Record key, equals id in the upstream manifest), description, story * count. For the full detail of a single component, read * `modyo://widgets/catalog/components/{componentId}`. * * The `key` field is retained for backward compatibility and equals `id` * (the upstream manifest keys entries by their Storybook id, not by the * React displayName). Either field can be passed as `{componentId}` to * the detail Resource. * * The version consumed is always `WIDGETS_COMPAT.dynamicUi`. Operator does * not choose it. */ export declare class CatalogComponentsResource extends ResourceBase { private manifestClient; protected config: { name: string; uriTemplate: string; description: string; mimeType: string; annotations: { readOnlyHint: boolean; idempotentHint: boolean; destructiveHint: boolean; }; }; constructor(manifestClient?: StorybookManifestClient); protected getParamsSchema(): z.ZodVoid; read(uri: URL): Promise; } export declare const catalogComponents: CatalogComponentsResource; //# sourceMappingURL=CatalogComponentsResource.d.ts.map