/** * Opencode artifact writers. */ import type { InitOptions, InitResult } from './types.js'; /** * Write opencode artifacts. ADDITIVE — only invoked when * `components.opencode` is set. Never touches .claude/ or .gemini/. * * Tier 1: opencode.json (MCP server + permissions + instructions). * Tier 2 (added next): AGENTS.md + .opencode/{agent,command,skills}/ converted * from the Claude tree. */ export declare function writeOpencodeFiles(targetDir: string, options: InitOptions, result: InitResult): Promise; /** The opencode files a `.claude/` tree converts to: agent files, command * files and skill directories, each mapped to its content. Pure. */ export interface OpencodeConvertedTree { agents: Map; commands: Map; skills: Map; } export declare function convertClaudeTreeToOpencode(claudeDir: string): OpencodeConvertedTree; /** * Convert the project's `.claude/{agents,commands,skills}` into * `.opencode/{agent,command,skills}` and sweep skills a previous run generated * and this one no longer does. Split out of writeOpencodeFiles so * `monomind packs add|remove` can refresh the tree without touching * opencode.json, AGENTS.md or the plugin. */ export declare function writeOpencodeTree(targetDir: string, options: InitOptions, result: InitResult): void; //# sourceMappingURL=write-opencode.d.ts.map