import { type StackDeps } from "../stack/commands.js"; export declare const initUsage = "nylorun init [--description ] [--example]\n\nWrites /AGENT.md, the smallest agent folder: frontmatter with its name (the path's last\nsegment, so init agents/hello names it hello) and description, and its instructions below.\n\n --example also write tools/get_order.json, mcp.json and\n triggers/new-order.md, with a README.md that explains each\n\nThe first run in a project (the nearest directory with .git, else this one) also writes\n.gitattributes (* text=auto eol=lf), ignores .nylorun/credentials.json in .gitignore, and maps the\nfolder files to their JSON Schemas in .vscode/settings.json, each only when it is missing."; /** Where the editor finds each agent folder file's schema (design ยง3.10). */ export declare const SCHEMA_BASE = "https://docs.nylorun.com/schemas/agent-folder/v1"; /** The project `init` sets up: the nearest directory from `cwd` up with `.git`, else `cwd`. */ export declare function projectRootOf(cwd: string): string; /** `json.schemas` entries for the agent folders that sit where `folder` does, under `root`. */ export declare function schemaMappings(root: string, folder: string): { fileMatch: string[]; url: string; }[]; /** * `settings` with `mappings` merged into its `json.schemas`: a mapping whose URL is there already * gains the patterns it lacks. Undefined when nothing changes. */ export declare function mergeSchemaSettings(settings: Record, mappings: readonly { fileMatch: string[]; url: string; }[]): Record | undefined; /** `nylorun init [--description ] [--example]` */ export declare function initCommand(deps: StackDeps, args: readonly string[]): Promise;