import type { Profile } from '../profiles/index.js'; export type AgentsMdOptions = { isSalesforceProject?: boolean; /** * Resolves the path to a profile's full rule file, relative to the project root. Defaults to * `.codex/.md` (OpenAI Codex CLI's own layout). OpenCode shares this generator for its root * `AGENTS.md` but never writes a `.codex/` directory — pass `canonicalProfileRulePath` there so * the reference resolves to a file that actually exists. */ profileRulePath?: (profileId: string) => string; }; /** * Generates the root `AGENTS.md` for OpenAI Codex CLI. * Per-profile rules live in `.codex/.md` and are referenced via an * explicit `read` instruction. */ export declare function generateAgentsMd(profiles: Profile[], version: string, opts?: AgentsMdOptions): string; /** Generates per-profile rule file content for `.codex/.md`. */ export declare function generateCodexProfileRule(profile: Profile, version: string): string;