import type { LogEntry } from "./log-entry"; import type { Logger } from "./logger"; import type { JsonLogEntry } from "./writers/json-terminal-writer"; type RenderFn = (entry: LogEntry, logger: Logger) => string; /** * Combines the render functions and returns a string with the output value */ export declare function combineRenders(entry: LogEntry, logger: Logger, renderers: RenderFn[]): string; export declare function renderError(entry: LogEntry): string; export declare function renderSymbol(entry: LogEntry): string; export declare function renderTimestamp(entry: LogEntry, logger: Logger): string; export declare function renderMsg(entry: LogEntry): string; export declare function renderData(entry: LogEntry): string; export declare function renderSection(entry: LogEntry): string; /** * Formats entries for the terminal writer. */ export declare function formatForTerminal(entry: LogEntry, logger: Logger): string; export declare function cleanForJSON(input?: string | string[]): string; export declare function cleanWhitespace(str: string): string; export declare function formatForJson(entry: LogEntry): JsonLogEntry; export {};