import { type StackDeps } from "../stack/commands.js"; export declare const exportUsage: string; export declare const migrateFolderUsage = "nylorun migrate folder [--out ]\n\nWrites the agent folder of the three-file folder (agent.manifest.json, with its\nharness.manifest.json and runtime.manifest.json), offline: the manifest nylorun apply composes\nfrom it, as AGENT.md, mcp.json, tools/, skills/ and runtime.json. A SKILL.md's secrets move to\nAGENT.md. It says whether the folder compiles to the same manifest. Reads no Runtime.\n\n --out where the folder goes (default ./); no file is\n written over"; export declare const pullUsage: string; /** * Writes `files` under `out`. A file already there with the same bytes is left; one with other * bytes is a conflict, and with any conflict nothing is written. Answers how many it wrote and left. */ export declare function writeFolder(out: string, files: ReadonlyMap, cwd: string): Promise<{ written: number; same: number; }>; /** `nylorun export --folder [@] [--out ]` */ export declare function exportCommand(deps: StackDeps, args: readonly string[]): Promise; /** `nylorun migrate folder [--out ]` */ export declare function migrateFolderCommand(deps: StackDeps, args: readonly string[]): Promise; /** `nylorun pull [@] [--out ]` */ export declare function pullCommand(deps: StackDeps, args: readonly string[]): Promise;