import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; /** * MCP **Resources** (phase 75) — read-on-demand views of `.cadence/` artifacts * under a `cadence://` URI scheme. The host reads them as data; there are NO * subscriptions / notifications / file-watching (v1 YAGNI line). Readers reuse * the same bytes the CLI reads (and `recommendService` for the recommendations * payload) — no content is re-derived here. */ export interface StaticResourceDef { uri: string; name: string; description: string; mimeType: string; read(repoRoot: string): Promise; } export declare const STATIC_RESOURCES: StaticResourceDef[]; /** The static resource URIs this server advertises (handy for tests/AC-1). */ export declare const RESOURCE_URIS: readonly string[]; type PhaseArtifactKind = 'draft' | 'summary' | 'summaryJson'; interface PhaseTemplateDef { uriTemplate: string; name: string; description: string; mimeType: string; kind: PhaseArtifactKind; } export declare const PHASE_TEMPLATES: readonly PhaseTemplateDef[]; /** * Register the static + templated `cadence://` resources on an MCP server. * A read error surfaces as an MCP error response (the SDK serializes the thrown * message); the server keeps serving subsequent requests. */ export declare function registerResources(server: McpServer, repoRoot: string): void; export {}; //# sourceMappingURL=resources.d.ts.map