declare const HTMLElement: {
    new (): HTMLElement;
    prototype: HTMLElement;
};
export declare class ErrorOverlay extends HTMLElement {
    root: ShadowRoot;
    closeOnEsc: (e: KeyboardEvent) => void;
    constructor(err: any, links?: boolean);
    text(selector: string, text: string, linkFiles?: boolean): void;
    close(): void;
}
export declare const overlayId = "vite-error-overlay";
export {};
