/** A log sink that failed waits this long before it tries the file again, so it recovers instead of staying off. */
export declare const LOG_SINK_RETRY_MS = 5000;
/**
 * Rotates `filePath` to `filePath.1` once appending `incomingBytes` would pass `maxBytes`. Several processes append
 * to one log (engine host, CLI, desktop host), so the rotation runs under an exclusive lock file and re-checks the
 * size while holding it: the process that loses the race keeps appending instead of failing, and never moves the
 * fresh file over the generation another process just rotated (senpi#2976). A held lock skips rotation for this
 * line; a lock left by a crashed process is cleared once it is stale.
 */
export declare function rotateLogIfNeeded(filePath: string, incomingBytes: number, maxBytes: number): void;
//# sourceMappingURL=log-file-rotation.d.ts.map