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"; /** * Full detail of a single Dynamic UI component. * * Looks the entry up by the Record key in `components.json`. The upstream * manifest keys entries by their Storybook `id` (e.g. * `design-system-components-alert`), NOT by the React displayName * (`DAlert`). Confirmed live against the CDN: all 60 entries satisfy * `key === entry.id`. * * Returns the complete entry: stories with snippet code, props with * TypeScript types and descriptions, JSDoc tags, source path, and import * statement. */ export declare class CatalogComponentDetailResource extends ResourceBase<{ componentId: string; }> { 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.ZodObject<{ componentId: z.ZodString; }, z.core.$strip>; read(uri: URL, params: { componentId: string; }): Promise; } export declare const catalogComponentDetail: CatalogComponentDetailResource; //# sourceMappingURL=CatalogComponentDetailResource.d.ts.map