import winston from 'winston'; import Env from './env.js'; import Config from './config.js'; import Namespace from './namespace.js'; import ServiceInterface from './interface.js'; declare class Logger extends ServiceInterface { env: Env; config: Config; namespace: Namespace; level: string; instance: winston.Logger | null; label: string | null; logfile: string | null; static dependencies: (typeof Env | typeof Config | typeof Namespace)[]; constructor(env: Env, config: Config, namespace: Namespace); getProto(): typeof winston; getWinston(): typeof winston; setLogFile(logfile: string): this; setLabel(label: string): this; setLevel(level: string): this; getInstance(): winston.Logger; factory(logPath: string | false, key?: string, level?: string): winston.Logger; populateTraceId(args: unknown[]): [string, ...unknown[]]; debug(...args: unknown[]): winston.Logger; verbose(...args: unknown[]): winston.Logger; info(...args: unknown[]): winston.Logger; warn(...args: unknown[]): winston.Logger; error(...args: unknown[]): winston.Logger; dump(obj: unknown): winston.Logger; } export default Logger;