import { ChainForkConfig } from "@lodestar/config"; import { LoggerNodeOpts } from "@lodestar/logger/node"; import { GlobalArgs } from "../options/globalOptions.js"; import { LogArgs } from "../options/logOptions.js"; export declare const LOG_FILE_DISABLE_KEYWORD = "none"; /** * Setup a CLI logger, common for beacon, validator and dev commands */ export declare function parseLoggerArgs(args: LogArgs & Pick, paths: { defaultLogFilepath: string; }, config: ChainForkConfig, opts?: { hideTimestamp?: boolean; }): LoggerNodeOpts; /** * Winston is not able to clean old log files if server is offline for a while * so we have to do this manually when starting the node. * See https://github.com/ChainSafe/lodestar/issues/4419 */ export declare function cleanOldLogFiles(args: LogArgs, paths: { defaultLogFilepath: string; }): void; export declare function shouldDeleteLogFile(prefix: string, extension: string, logFileName: string, maxFiles: number): boolean; //# sourceMappingURL=logger.d.ts.map