/** * Enhanced error display component with collapsible stack traces, * syntax highlighting, and smart summarization. */ import { Container } from '@earendil-works/pi-tui'; import type { TUI } from '@earendil-works/pi-tui'; import type { ChatSpacingKind } from './chat-spacing.js'; 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; getChatSpacingKind(): ChatSpacingKind; private createCodeContext; } //# sourceMappingURL=error-display.d.ts.map