export declare function historyActivePath(projectRoot: string): string; export declare function historyArchivePath(projectRoot: string): string; /** * Rotate the active history file if it exceeds maxActiveLines. * * When the active file has more than maxActiveLines non-empty lines, * the oldest (count - maxActiveLines) lines are appended to the archive * and the active file is atomically rewritten with the newest maxActiveLines * lines via temp-file + rename. * * Pass maxActiveLines from config; callers must NOT call loadConfig here * (loadConfig throws when no bober.config.json exists). Default: 2000. * * No-op when the active file does not exist or has <= maxActiveLines entries. */ export declare function rotateIfNeeded(projectRoot: string, maxActiveLines?: number): Promise; //# sourceMappingURL=history-rotation.d.ts.map