import { Log } from "../Log"; import { LoggerOptions } from "../LoggerOptions"; import { Logger } from "../Logger"; import { LogLevel } from "../LogLevel"; import { Headers } from "../../util/HttpClient"; import { WsErrorLogger } from "../../util/WsErrorLogger"; export declare class DefaultLogger implements Logger { private readonly token; private options; private apiUrl; private logLevel; private readonly headersProvider?; private static DEFAULT_PERIOD; private static FORBIDDEN_STATUS_CODE; private logs; private httpClient; private readonly interval; private wsErrorLogger?; constructor(token: string, options?: LoggerOptions, apiUrl?: string, logLevel?: LogLevel, headersProvider?: () => Headers); private static ifNotForbidden; log(log: Log): void; debug(message: string, callId: string, localOnly?: boolean): void; info(message: string, callId: string): void; warn(message: string, callId: string): void; error(message: string, callId: string): void; stop(): void; setOptions(options: LoggerOptions): void; setApiUrl(apiUrl: string): void; setLogLevel(logLevel: string): void; setWsErrorLogger(logger: WsErrorLogger): void; private logMessage; private sendLogs; private createInterval; }