import { Loglevel, ZBWorkerLoggerOptions } from './interfaces';
export declare class ZBLogger {
    loglevel: Loglevel;
    private colorFn;
    private namespace?;
    private taskType?;
    private id?;
    private stdout;
    private colorise;
    constructor({ loglevel, color, namespace, stdout, id, taskType, colorise, }?: ZBWorkerLoggerOptions & {
        id?: string;
        taskType?: string;
        colorise?: boolean;
    });
    info(message: any, ...optionalParameters: any[]): void;
    error(message: any, ...optionalParameters: any[]): any;
    debug(message: any, ...optionalParameters: any[]): void;
    log(message: any, ...optionalParameters: any[]): void;
    private _colorise;
    private getMetadataString;
    private getId;
    private stringifyJSON;
    private getNamespace;
}
