import { log_level } from './level'; import { loggable_type } from './type'; import { LogTokens } from './token'; import { LoggerHost } from './config'; export interface LoggableData { readonly type: loggable_type; readonly value: any; readonly level: log_level; readonly tags: string; } export interface LogContext { readonly count: number; readonly from: string; readonly to: string; readonly level: log_level; readonly tags: ReadonlyArray; readonly type: loggable_type; } export interface Log { readonly tokens: LogTokens; readonly context: LogContext; } export declare function createLogContext(host: LoggerHost, data: LoggableData): Promise; export declare function createLog(tokens: LogTokens, context: LogContext): Log;