/**
 * Patches a CLAUDE.md file by injecting or replacing the Planu proactive-behavior rules section.
 *
 * Algorithm:
 * 1. If the file doesn't exist: create it with the section as its entire content.
 * 2. If the file exists:
 *    a. Read content and write a backup to `{claudeMdPath}.planu-backup`.
 *    b. If a `<!-- planu:rules:start` marker exists: replace the entire block.
 *    c. Otherwise: append the section at the end of the file.
 *    d. If write fails: restore the backup (best-effort).
 */
export declare function patchClaudeMd(claudeMdPath: string, section: string): Promise<void>;
//# sourceMappingURL=file-patcher.d.ts.map