import { type AgentManifestPlan } from "@nylorun/agents"; import type { StackDeps } from "../stack/commands.js"; export declare const applyUsage: string; /** How `--watch` runs an apply (`watch.ts`). */ export interface ApplyOptions { /** Plan, and save nothing. */ planOnly?: boolean; /** `nylorun check` printed each folder's diagnostics already. */ checked?: boolean; } /** A plan as lines: the move, then each change, warning and error. */ export declare function planLines(plan: AgentManifestPlan): string[]; /** `nylorun apply [dir…] [--dry-run] [--if-match ] [--agent []] [--watch [--save]]` */ export declare function applyCommand(deps: StackDeps, given: readonly string[], options?: ApplyOptions): Promise;