/// <reference types="node" />
declare type DebugLevel = "debug" | "trace" | "info" | "warn" | "error";
declare class WinstonsonLogger {
    filename: string;
    constructor(filename: string);
    debug(message: string): void;
    trace(message: string): void;
    info(message: string): void;
    warn(message: string): void;
    error(message: string | Error): void;
    level(level: DebugLevel): string | void;
    mute(): void;
    unmute(): void;
    setDateFormat(format: string): void;
    stream(level: DebugLevel): {
        write(message: string, enc: string): void;
    };
}
export default function (m: NodeModule): WinstonsonLogger;
export {};
