export = logRotator;
/**
 * Rotates hdb.log using an interval and/or maxSize param to determine if log should be rotated.
 * Uses an unref setInterval to periodically check time passed since rotation and size of log file.
 * If log file is within the values set in config, log file will be renamed/moved and a new empty hdb.log created.
 * @returns LogRotator
 */
declare function logRotator({ logger, maxSize, interval, retention, enabled, path: rotatedLogDir, auditInterval }: {
    logger: any;
    maxSize: any;
    interval: any;
    retention: any;
    enabled: any;
    path: any;
    auditInterval: any;
}): {
    end(): void;
    getLastRotatedLogPath(): any;
};
