import { OnLogCallback } from './types.js';

interface LoggerConfig {
    debug?: boolean;
    prefix?: string;
    scope?: string;
    onLog?: OnLogCallback;
}
declare class Logger {
    private debugEnabled;
    private prefix;
    private scope;
    private onLog?;
    constructor(config?: LoggerConfig);
    private formatMessage;
    private emitLog;
    error(message: string, error?: Error | unknown): void;
    warn(message: string, data?: unknown): void;
    info(message: string, data?: unknown): void;
    debug(message: string, data?: unknown): void;
    child(childPrefix: string): Logger;
}

export { Logger as L };
