import type { FafData } from '../core/types.js'; /** * Author a BETTER-shaped AGENTS.md from .faf data (+ repo enrichment at export). * * Deterministic projection from curated TRUTH — facts, not hallucinated prose * (Gloaguen: LLM freewrite hurts). Sections: orientation · setup · verify · * map · conventions · three-tier guardrails · DoD · when stuck · security · * commit · project facts. AGENTS.md does not copy the six W's: it points to * the facts file (project.faf), which holds them. GEMINI.md, .cursorrules, * CLAUDE.md and Copilot carry them (labels.ts sixWsFilled). * * Design: BETTER guide + hand exemplar (faf-cli AGENTS.md) + agents-md-facts. */ export declare function renderAgentsMd(data: FafData, factsRef?: string): string; /** Write AGENTS.md — non-destructive: injects/updates the faf block, preserves the rest. * factsRef: the facts file's path relative to `dir` (default `project.faf`). */ export declare function writeAgentsMd(dir: string, data: FafData, factsRef?: string): void;