/** * Reference in-memory SkillSource for tests and small deployments. * * @module @nhtio/adk/batteries/skills/in_memory */ import type { SkillDescriptor } from "../types"; import type { DiscoveredSkill, SkillRef, SkillSource } from "../contracts"; /** A mutable, deterministic SkillSource backed by SKILL.md strings. */ export declare class InMemorySkillSource implements SkillSource { #private; /** Source provenance stamped onto every discovered reference. */ readonly id: string; constructor(id: string, entries: ReadonlyArray<{ readonly id: string; readonly version: string; readonly manifest: string; readonly descriptor: SkillDescriptor; readonly files?: Readonly>; }>); /** Yields the precomputed routing metadata without loading descriptors. */ discover(): AsyncIterable; /** Returns the live descriptor for a discovered id. */ descriptor(ref: SkillRef): Promise; read(ref: SkillRef, path?: string): Promise>; /** Reports byte size and current entry version for the body or a bundled file. */ stat(ref: SkillRef, path?: string): Promise<{ size: number; version: string; }>; list(ref: SkillRef): Promise; }