import { type McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { ReadResourceResult } from "@modelcontextprotocol/sdk/types.js"; import { ResourceBase } from "../../shared/ResourceBase.js"; import type { Logger } from "../../shared/types/Logger.js"; import { z } from "zod"; /** * Unified widget documentation resource * * Serves widget-generation knowledge from docs/widgets/ * Auto-discovers all markdown files. * * URI format: modyo://docs/widgets/{widgetPath} * * Examples: * - modyo://docs/widgets/INDEX * - modyo://docs/widgets/patterns-repository * - modyo://docs/widgets/reference-ui-patterns * - modyo://docs/widgets/_meta-integration-claude-code */ export declare class DocsWidgetsResource extends ResourceBase<{ widgetPath: string; }> { protected config: { name: string; uriTemplate: string; description: string; mimeType: string; annotations: { readOnlyHint: boolean; idempotentHint: boolean; destructiveHint: boolean; }; catchErrors: boolean; }; protected getParamsSchema(): z.ZodObject<{ widgetPath: z.ZodEnum<{ [x: string]: string; }>; }, z.core.$strip> | z.ZodObject<{ widgetPath: z.ZodString; }, z.core.$strip>; registerResource(server: McpServer, logger: Logger): Promise; read(uri: URL, params: { widgetPath: string; }): Promise; } export declare const docsWidgets: DocsWidgetsResource; //# sourceMappingURL=DocsWidgetsResource.d.ts.map