import type { Repo } from "../api/repo.ts"; import type { ToolDef } from "./server.ts"; export interface ResourceDef { uri: string; name: string; description: string; mimeType: string; } /** Advertised resources. `{view}` is a template segment filled by the client. */ export declare const RESOURCES: ResourceDef[]; /** * Read one resource. Returns the serialized body; throws on an unknown URI rather than * returning an empty document — a client that asked for something that does not exist has * a bug, and an empty body would read as "nothing here", which is a different fact. */ export declare function readResource(repo: Repo, uri: string, tools?: ToolDef[]): Promise; //# sourceMappingURL=resources.d.ts.map