import { default as log, LogLevel } from 'loglevel';
export declare const KosLog: {
    ifDebug: (fn: VoidFunction) => void;
    ifInfo: (fn: VoidFunction) => void;
    ifWarn: (fn: VoidFunction) => void;
    ifError: (fn: VoidFunction) => void;
    getLogger: (name: string) => log.Logger;
    getLoggers: () => {
        [name: string]: log.Logger;
    };
    createLogger: ({ name, group }: {
        name: string;
        group?: string;
    }) => log.Logger;
    wsSend: (...msg: any[]) => void;
    wsReceive: (...msg: any[]) => void;
    noConflict(): any;
    default: log.RootLogger;
    levels: LogLevel;
    methodFactory: log.MethodFactory;
    trace(...msg: any[]): void;
    debug(...msg: any[]): void;
    log(...msg: any[]): void;
    info(...msg: any[]): void;
    warn(...msg: any[]): void;
    error(...msg: any[]): void;
    setLevel(level: log.LogLevelDesc, persist?: boolean): void;
    getLevel(): LogLevel[keyof LogLevel];
    setDefaultLevel(level: log.LogLevelDesc): void;
    resetLevel(): void;
    enableAll(persist?: boolean): void;
    disableAll(persist?: boolean): void;
    rebuild(): void;
};
//# sourceMappingURL=log.d.ts.map