/** * Generate the `AGENTS.md` a scaffolded app ships with - the conventions file read by coding agents * (Claude Code, Cursor, …). It encodes nifra's non-obvious rules so an agent writes correct code from * the first prompt: validate at the boundary, the never-throwing client, `app.fetch` as the universal * entry, and (for full-stack apps) the one gotcha that bites everyone - never top-level-import * server-only code into a route module. Tailored per template so the paths + commands are real. */ import type { AuthChoice } from "./auth.js"; import type { Framework, TemplateName } from "./cli.js"; import { type DbChoice } from "./db.js"; export interface AgentsMdOptions { readonly template: TemplateName; readonly framework: Framework; readonly name: string; /** Drizzle preset, when scaffolded with `--db` - adds a Database section. */ readonly db?: DbChoice; /** Auth preset, when scaffolded with `--auth` - adds an Authentication section. */ readonly auth?: AuthChoice; } /** Build the full `AGENTS.md` for a freshly scaffolded app. */ export declare function agentsMd(opts: AgentsMdOptions): string; //# sourceMappingURL=agents.d.ts.map