import { KipperError } from "./errors"; import type { KipperWarning } from "./warnings"; export declare enum LogLevel { UNKNOWN = 0, DEBUG = 10, INFO = 20, WARN = 30, ERROR = 40, FATAL = 50 } export declare function getLogLevelString(level: LogLevel): string; export declare class KipperLogger { private readonly _emitHandler; static levels: typeof LogLevel; static numLevels: typeof LogLevel; logLevel: LogLevel; readonly reportWarnings: boolean; constructor(emitHandler: (level: LogLevel, msg: string) => void, logLevel?: LogLevel, reportWarnings?: boolean); get emitHandler(): (level: LogLevel, msg: string) => void; debug(msg: string): void; info(msg: string): void; warn(msg: string): void; error(msg: string): void; fatal(msg: string): void; log(level: LogLevel, msg: string): void; reportError(level: LogLevel.ERROR | LogLevel.FATAL, err: KipperError | string): void; reportWarning(warn: KipperWarning | string): void; }