export interface UpsertSectionResult {
    action: 'created' | 'updated' | 'no-change';
}
/**
 * Insert or replace a managed section in AGENTS.md.
 *
 * - If AGENTS.md doesn't exist, creates it with the section.
 * - If the section markers exist, replaces the content between them.
 * - If AGENTS.md exists but the section markers don't, appends.
 */
export declare function upsertAgentsMdSection(repoRoot: string, key: string, body: string): Promise<UpsertSectionResult>;
/**
 * Remove a managed section from AGENTS.md if it exists.
 *
 * Returns true if the section was found and removed, false otherwise.
 */
export declare function removeAgentsMdSection(repoRoot: string, key: string): Promise<boolean>;
//# sourceMappingURL=agents-md.d.ts.map