import * as react from 'react';
import { HTMLAttributes } from 'react';
type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'trace';
interface LogLine {
/** Line content */
text: string;
/** Log level for color coding */
level?: LogLevel;
/** Timestamp string (optional) */
timestamp?: string;
/** Source/logger name */
source?: string;
}
interface LogViewerProps extends HTMLAttributes {
/** Log lines to display */
lines: LogLine[];
/** Maximum visible lines (for performance) */
maxLines?: number;
/** Show line numbers */
showLineNumbers?: boolean;
/** Show timestamps */
showTimestamps?: boolean;
/** Whether to auto-scroll (follow new content) */
follow?: boolean;
/** Enable search */
searchable?: boolean;
/** Height of the viewer */
height?: string;
/** Whether the viewer is loading */
loading?: boolean;
}
declare const LogViewer: react.ForwardRefExoticComponent>;
export { type LogLevel, type LogLine, LogViewer, type LogViewerProps };