/** * MCP resources — read-only context a client can attach directly, without * spending a tool call. Kept small and cheap: some clients fetch every resource * eagerly, so anything large or paginated belongs in a tool instead. */ /** A readable resource: its metadata plus the reader that fetches it. */ export interface ResourceDefinition { uri: string; name: string; description: string; mimeType: string; read: () => Promise; } /** Every resource this server exposes. */ export declare const RESOURCES: ResourceDefinition[]; /** One resource as advertised by `resources/list`. */ export interface ResourceSummary { /** URI to pass to {@link readResource}. */ uri: string; /** Human-readable name. */ name: string; /** What the resource contains. */ description: string; /** MIME type of the contents. */ mimeType: string; } /** The contents of one resource, as returned by `resources/read`. */ export interface ResourceContents { /** One block per resource; text blocks carry JSON. */ contents: Array<{ uri: string; mimeType: string; text: string; }>; } /** Every resource this server exposes, as `resources/list` returns them. */ export declare function listResources(): ResourceSummary[]; /** Read one resource by URI, or null when no such resource exists. */ export declare function readResource(uri: string): Promise; //# sourceMappingURL=resources.d.ts.map