import type { McpContext } from "./lib/context.js"; /** * MCP resources — read-only context an agent can pull in without spending a * tool call, and which clients can attach to a conversation directly. * * Kept deliberately small and stable: resources are fetched eagerly by some * clients, so anything expensive or paginated belongs in a tool instead. */ export interface ResourceDefinition { uri: string; name: string; description: string; mimeType: string; read: (ctx: McpContext) => Promise; } export declare const RESOURCES: ResourceDefinition[]; export declare function listResources(): { uri: string; name: string; description: string; mimeType: string; }[]; export declare function readResource(uri: string, ctx: McpContext): Promise<{ contents: { uri: string; mimeType: string; text: string; }[]; } | null>; //# sourceMappingURL=resources.d.ts.map