import type { DiscoveryResult, FileDiscoveryContext } from "../types.js"; /** * Discovers markdown agents from a directory. * * Supports two layouts side by side: * - Flat: `agents/{id}.md` * - Directory: `agents/{id}/AGENT.md` (+ colocated `SKILL.md` / `skills/` / * `tools/`, registered with owner metadata) * * Binding is NOT decided here: both layouts pass their parsed definition to * the same adapter, and the owner-aware resolvers apply one rule for every * agent kind at invocation time. */ export declare function discoverRuntimeAgentMarkdownDefinitions(dir: string, result: DiscoveryResult, context: FileDiscoveryContext): Promise; //# sourceMappingURL=runtime-agent-markdown-handler.d.ts.map