import HtmlNode from '../Extension/HtmlNode'; interface ErrorAlertProps { error?: string | Element; } declare class ErrorAlert extends HtmlNode { private readonly props; private error?; constructor(element: HTMLElement | null, props: ErrorAlertProps); update(error?: string | Element): void; render(): void; } export default ErrorAlert;