export type LogFunction = (...args: Array) => void; export interface Logger { fatal: LogFunction; error: LogFunction; warn: LogFunction; info: LogFunction; debug: LogFunction; trace: LogFunction; } export declare const ConsoleLogger: Logger; export declare class ScopedLogger implements Logger { private prefixes; constructor(...prefixes: string[]); private getPrefixesString; extendScope(prefix: string): this; fatal: (...args: any[]) => void; error: (...args: any[]) => void; warn: (...args: any[]) => void; info: (...args: any[]) => void; debug: (...args: any[]) => void; trace: (...args: any[]) => void; }