/** * MCP Resources surface — exposes the cycle-pattern catalog as browsable * read-only resources. Clients can list / read patterns without burning a * tool call (cheaper than `classifyCycle`'s incidental output). * * URI shape: `memorydetective://patterns/{patternId}` * * Each resource body is markdown — clients render it directly in the UI. */ export interface PatternResource { uri: string; name: string; description: string; mimeType: "text/markdown"; } export interface PatternResourceBody { uri: string; mimeType: "text/markdown"; text: string; } /** Build the resource list shown to clients via `resources/list`. */ export declare function listPatternResources(): PatternResource[]; /** Resolve a pattern URI to a markdown body, or return null if unknown. */ export declare function readPatternResource(uri: string): PatternResourceBody | null; export declare function patternUri(patternId: string): string; export declare function patternIdFromUri(uri: string): string | null;