export interface LogMessage { type: LogType; tag: string; style: string; msg: string; attrs: any[]; } export declare enum LogType { Log = "log", Warning = "warning" } export declare class Logger extends EventTarget { static instance: Logger; logs: LogMessage[]; static tags: Map; static getStyle(srcName: string): string; static clear(): void; static addTag(tag: string, style: string): void; static log(src: any, msg: string, ...attrs: any[]): void; static warn(src: any, msg: string, ...attrs: any[]): void; static group(src: any, msg: string, ...attrs: any[]): void; static groupEnd(): void; }