import { MatrixActorHtmlElement } from '../../framework/MatrixActorHtmlElement';
/**
 * ErrorViewer - Displays error information with stack traces.
 *
 * Accepts:
 *   - setError: { message: string, stack?: string, code?: string, details?: any }
 *   - retry: {}
 *   - copyStack: {}
 *   - dismiss: {}
 *
 * Emits:
 *   - retried: {}
 *   - dismissed: {}
 *   - copied: {}
 */
export declare class ErrorViewer extends MatrixActorHtmlElement {
    static accepts: {
        setError: {
            message: string;
            stack: string;
            code: string;
            details: string;
        };
        retry: {};
        copyStack: {};
        dismiss: {};
    };
    static emits: {
        retried: {};
        dismissed: {};
        copied: {};
    };
    static template: string;
    private _error;
    get error(): {
        message: string;
        stack?: string;
        code?: string;
        details?: unknown;
    } | null;
    onBootstrap(): Promise<void>;
    onSetError(params: {
        message: string;
        stack?: string;
        code?: string;
        details?: unknown;
    }): void;
    onRetry(): void;
    onCopyStack(): void;
    onDismiss(): void;
    /**
     * Render the error display
     */
    render(): void;
}
export declare const ErrorViewerShell: typeof ErrorViewer;
//# sourceMappingURL=ErrorViewer.d.ts.map