import { LOG_LEVEL, LoggerInterface } from './index'; import Rollbar from 'rollbar'; import { RabbitMQClient } from '../data'; export declare class LoggerProps { service?: string; requestId?: string; requestClientId?: string; contextClientId?: string; ip?: string; url?: string; logsQueue?: string; [x: string]: any; } export declare class Logger implements LoggerInterface { private props; private broker?; private readonly meta; constructor(props: LoggerProps, broker?: RabbitMQClient | undefined); static setMaskedFields(fields: string[]): string[]; configureLogger(prop: any): LoggerProps; setBroker(broker: RabbitMQClient): void; setProps(props: LoggerProps): LoggerProps; getProps(): LoggerProps; log(level: LOG_LEVEL, message: string, data?: any, trace?: string): string; postHttp(payload: any): any; error(message: string, meta?: any, trace?: string): string; warn(message: string, meta?: any, trace?: string): string; debug(message: string, meta?: any, trace?: string): string; info(message: string, meta?: any, trace?: string): string; critical(message: string, meta?: any, trace?: string): string; exception(error: Error, meta?: any): string; out(...args: any): void; logToRollbar(payload: Record): string | Rollbar.LogResult; } export declare const logger: Logger;