/** * Enhanced error display component with collapsible stack traces, * syntax highlighting, and smart summarization. */ import { Container } from '@mariozechner/pi-tui'; import type { TUI } from '@mariozechner/pi-tui'; export interface ErrorInfo { message: string; name?: string; stack?: string; code?: string; file?: string; line?: number; column?: number; context?: { before?: string[]; line?: string; after?: string[]; }; } /** * Enhanced error display component */ export declare class ErrorDisplayComponent extends Container { private error; private options; private ui; constructor(error: Error | string, options: { showStack?: boolean; showContext?: boolean; expanded?: boolean; } | undefined, ui: TUI); private build; private createCodeContext; } //# sourceMappingURL=error-display.d.ts.map