import { type FrontMcpLogger, type ResourceFunctionRecord, type ScopeEntry, type SkillEntry } from '../../common'; import type ResourceRegistry from '../../resource/resource.registry'; /** * Build a `ResourceFunctionRecord` for a single skill. The function reads * the skill via `findAndLoadSkillByPath` and emits raw SKILL.md. * * The record carries SEP-conformant metadata: * - `name` = skill's frontmatter name * - `description` = skill's frontmatter description * - `mimeType` = `text/markdown` * - `annotations.audience` = `["assistant"]` * - `annotations.priority` = 0.8 (the SEP-recommended SKILL.md priority) * - `annotations.lastModified` (when supplied — populated for file-backed skills) * - `_meta.io.modelcontextprotocol.skills/path` = the skill's `` * * The function is bound to the scope so `resources/read` invocation * resolves through the active SkillRegistry. */ export declare function buildPerSkillResourceRecord(scope: ScopeEntry, skill: SkillEntry, opts?: { lastModified?: string; }): ResourceFunctionRecord; /** * Register one concrete `Resource` per MCP-visible skill so * `resources/list` returns SEP-conformant entries (frontmatter-derived * `name`/`description`, audience/priority annotations). * * This is in addition to — not a replacement for — the SKILL.md template * (`Sep2640SkillMdResource`). Hosts may discover skills either via * `resources/list` (concrete) or `skill://index.json` (discovery doc). */ export declare function registerPerSkillResources(options: { scope: ScopeEntry; resourceRegistry: ResourceRegistry; skills: SkillEntry[]; logger: FrontMcpLogger; resolveLastModified?: (skill: SkillEntry) => Promise; }): Promise; //# sourceMappingURL=sep-2640.per-skill.d.ts.map