import type { LoggerContext } from './logger.js';
import type { ErrorScope } from '../../types';
type LogData = {
    level: LogLevel;
    message?: string;
    duration?: number;
    context?: LoggerContext;
    scope?: ErrorScope;
};
export declare enum LogLevel {
    INFO = "INFO",
    WARN = "WARN",
    ERROR = "ERROR",
    SUCCESS = "SUCCESS",
    VERBOSE = "VERBOSE",
    HTTP = "HTTP"
}
export declare function shouldLog(level: LogLevel, minLevel: LogLevel): boolean;
export declare function parseLogLevel(levelStr: string | undefined): LogLevel | undefined;
declare const formatter: {
    format(log: LogData): string;
    interpolate(pattern: string, ...args: any[]): string;
};
export default formatter;
//# sourceMappingURL=formatter.d.ts.map