import { LogEntry, FailureStats } from './types'; /** * Logs a validation failure to the log file * @param entry The log entry to record * @param rootDir The root directory where the log file should be written */ export declare function logValidationFailure(entry: LogEntry, rootDir?: string): void; /** * Clears the log file * @param rootDir The root directory where the log file is located */ export declare function clearLog(rootDir?: string): void; /** * Reads and parses the log file * @param rootDir The root directory where the log file is located * @returns Array of log entries */ export declare function readLog(rootDir?: string): string; /** * Logs a concise failure summary for analytics * @param moduleName Name of the module that failed * @param targetFile Target file being validated * @param rootDir The root directory where the log file should be written */ export declare function logFailureSummary(moduleName: string, targetFile: string, rootDir?: string): void; /** * Gets failure statistics from the summary log * @param days Number of days to look back (default: all time) * @param rootDir The root directory where the log file is located * @returns Failure statistics */ export declare function getFailureStats(days?: number, rootDir?: string): FailureStats; /** * Rotates the summary log to keep only recent entries * @param maxEntries Maximum number of entries to keep (default: 1000) * @param rootDir The root directory where the log file is located */ export declare function rotateSummaryLog(maxEntries?: number, rootDir?: string): void; //# sourceMappingURL=logger.d.ts.map