import type { GodotConfig } from '../helpers.js'; export declare const AGENTS_SECTION_IDS: Set; /** * 组装单文件 AGENTS.md 内容。sections 顺序固定,供幂等检测。 * 返回未含 H1 标题的 sections 数组(H1 由 project.ts 的 setup_project_rules 拼接)。 */ export declare function buildAgentsMdSections(config: GodotConfig | null, projectDir: string, mcpVersion: string): Array<[string, string]>; /** 幂等合并 AGENTS.md:MCP 段替换,用户自建段保留。 */ export declare function mergeAgentsMd(existing: string, sections: Array<[string, string]>): string; /** * 完整生成 AGENTS.md 全文(含 H1 项目名标题)。首次生成用;已存在时用 mergeAgentsMd。 */ export declare function buildAgentsMd(config: GodotConfig | null, projectDir: string, projectName: string, mcpVersion: string): string;