/**
 * Result returned by rotateTelemetry().
 */
export interface RotationResult {
    scanned: number;
    deleted: string[];
    errors: {
        path: string;
        reason: string;
    }[];
}
/**
 * Rotate (delete) telemetry call log files older than maxAgeDays.
 * Scans only planu/.telemetry/calls-*.jsonl — never touches digests/.
 * Appends a record to rotation.log on each run (idempotent).
 *
 * @param rootDir    - Project root directory (contains planu/ subdirectory)
 * @param maxAgeDays - Files older than this number of days are deleted (default: 30)
 */
export declare function rotateTelemetry(rootDir: string, maxAgeDays?: number): Promise<RotationResult>;
//# sourceMappingURL=retention.d.ts.map