import { type AddChanges, type AddPlan, type AddResult } from 'create-cogitator-app'; export interface AddFlags { memory?: string; vectorStore?: string; deploy?: string; channel?: string[]; agent?: string[]; } /** The addition the command line asks for, validated against the scaffolder's catalogs. */ export declare function addChangesFrom(features: readonly string[], flags: AddFlags): AddChanges; /** A unified diff with additions in green, removals in red and hunk headers dimmed. */ export declare function colorDiff(diff: string): string; /** What the addition does, for the terminal; with `diffs`, every file change in full. */ export declare function formatAddPlan(plan: AddPlan, options: { diffs: boolean; }): string; /** Why the addition was refused, with the change each conflicting file needs. */ export declare function formatConflicts(plan: AddPlan): string; /** The plan as `--json` prints it: no file contents, diffs included. */ export declare function addPlanJson(plan: AddPlan, result?: Pick): { written?: string[] | undefined; deleted?: string[] | undefined; install?: { status: "done"; } | { status: "skipped"; reason: string; } | { status: string; error: string; } | undefined; format?: { status: "done"; } | { status: "skipped"; reason: string; } | { status: string; error: string; } | undefined; ok: boolean; upToDate: boolean; added: string[]; spec: { name: string; app: "server" | "channels" | "script" | "next" | "worker"; channels: ("telegram" | "discord" | "slack" | "webchat" | "bluesky" | "threads" | "github" | "email" | "teams")[]; memory: "memory" | "sqlite" | "postgres" | "none" | "redis" | "mongodb"; vectorStore: "memory" | "postgres" | "qdrant"; features: ("harness" | "mcp" | "rag" | "workflows" | "durable" | "swarms" | "evals" | "otel" | "langfuse" | "voice" | "sandbox" | "a2a")[]; provider: "ollama" | "openai" | "anthropic" | "google"; model: string; deploy: "none" | "docker" | "fly"; compose: boolean; packageManager: "pnpm" | "npm" | "yarn" | "bun"; codingAgents: ("claude" | "cursor" | "codex")[]; preset?: string | undefined; server?: "express" | "fastify" | "hono" | "koa" | "tetsu" | undefined; }; command: string; changes: { path: string; kind: "create" | "update" | "delete"; source: "generated" | "merged"; diff: string; }[]; conflicts: import("create-cogitator-app").AddConflict[]; notes: import("create-cogitator-app").AddNote[]; dependencies: Record; devDependencies: Record; removedDependencies: string[]; env: { name: string; required: boolean; secret: boolean; description: string; }[]; services: string[]; warnings: string[]; }; //# sourceMappingURL=add.d.ts.map