import type { ErrorInfo, LogContext, LoggerOptions } from './types'; export type { ErrorInfo, Formatter, FormatterName, InterceptOptions, LabelStyle, LogContext, LoggerOptions, LogLevel, LogRecord, TimeStyle, TraceContext, } from './types'; export { flattenError, logLevelValues, stripAnsi } from './types'; export declare function errorInfo(err: Error): ErrorInfo; export declare class Logger { private ctx; private min; private json; private fmt; private labels; private time; private colorize; private tc?; constructor(context?: LogContext, options?: LoggerOptions); child(context: LogContext): Logger; private emit; private logPlain; log(message: string, meta?: LogContext): void; debug(message: string, meta?: LogContext): void; info(message: string, meta?: LogContext): void; warn(message: string, meta?: LogContext): void; error(message: string, meta?: LogContext, error?: Error): void; fatal(message: string, meta?: LogContext, error?: Error): void; } export declare const logger: Logger;