/**
 * Transform a Claude Code-style agent definition (Markdown with YAML
 * frontmatter) into an OpenCode subagent Markdown file.
 *
 * Claude Code agent shape:
 * ```
 * ---
 * name: bug-fixer
 * description: ...
 * tools: Read, Bash             # optional; preserved as compatibility context
 * model: sonnet                 # optional; preserved as compatibility context
 * skills: [skill-a, skill-b]    # optional; preserved as context
 * ---
 * # Body becomes the agent prompt
 * ```
 *
 * OpenCode agent shape (per https://opencode.ai/docs/agents):
 * ```
 * ---
 * description: ...
 * mode: subagent
 * ---
 * # Body is the agent prompt
 * ```
 *
 * OpenCode agents are Markdown like Claude's, so — unlike the Codex TOML
 * transform — this is a near-passthrough: the body is preserved verbatim and
 * the only required reshape is the frontmatter. The agent NAME is derived by
 * OpenCode from the destination filename (not a frontmatter field), so the
 * installer owns naming; this transformer only owns the file contents.
 *
 * Claude-only metadata (`tools`, `model`, `skills`) is NOT emitted as OpenCode
 * frontmatter — `model` expects a `provider/model` string that a Claude alias
 * (`sonnet`) would violate, and `tools`/`skills` have no 1:1 frontmatter slot.
 * Instead that metadata is preserved as a context block in the body so nothing
 * is silently dropped, mirroring the Codex transformer's compatibility blocks.
 * @module opencode/agent-transformer
 */
import { type ParsedAgent } from "../codex/agent-transformer.js";
/**
 * Transform a parsed Lisa agent into OpenCode subagent Markdown.
 * @param parsed - Output of parseAgentMarkdown (frontmatter + body)
 * @returns OpenCode agent Markdown (frontmatter + prompt body)
 */
export declare function transformAgentToOpencodeMarkdown(parsed: ParsedAgent): string;
/**
 * One-shot helper: parse + transform.
 * @param source - Raw contents of an agent .md file
 * @returns OpenCode agent Markdown
 */
export declare function transformAgentMarkdownToOpencode(source: string): string;
//# sourceMappingURL=agent-transformer.d.ts.map