/**
 * Log rotation system for hook logs
 *
 * Features:
 * - Dated log files (YYYY-MM-DD format)
 * - Automatic cleanup of old logs
 * - Configurable retention period
 *
 * @example
 * ```typescript
 * const rotator = new LogRotator('.specweave/logs/hooks');
 *
 * // Get current log path
 * const logPath = rotator.getCurrentLogPath('session-start');
 * // Returns: .specweave/logs/hooks/session-start-2026-01-08.log
 *
 * // Clean logs older than 7 days
 * await rotator.cleanOldLogs(7);
 * ```
 */
export declare class LogRotator {
    private logDir;
    /**
     * Create a new LogRotator instance
     *
     * @param logDir - Directory containing log files
     */
    constructor(logDir: string);
    /**
     * Get the current log file path for a hook
     *
     * Returns path with today's date: {hookName}-YYYY-MM-DD.log
     *
     * @param hookName - Name of the hook
     * @returns Full path to current log file
     */
    getCurrentLogPath(hookName: string): string;
    private static readonly DATE_PATTERN;
    private static readonly MS_PER_DAY;
    /**
     * Clean up log files older than retention period
     * Only removes files matching pattern: *-YYYY-MM-DD.log
     */
    cleanOldLogs(retentionDays: number): Promise<void>;
    /**
     * Get all dated log files for a specific hook
     * @returns Array of log file paths, sorted by date (newest first)
     */
    getLogFiles(hookName: string): Promise<string[]>;
}
//# sourceMappingURL=log-rotator.d.ts.map