/** * Copyright 2023 Kapeta Inc. * SPDX-License-Identifier: BUSL-1.1 */ import { LogEntry, LogLevel, LogSource } from '../types'; export declare class LogData { static readonly MAX_LINES = 1000; private readonly entries; constructor(); /** * * @param {string} msg * @param {string} [level] * @param {string} [source] */ addLog(msg: string, level?: LogLevel, source?: LogSource): void; /** * * @return {LogEntry[]} */ getLogs(): LogEntry[]; toString(): string; }