import type { ErrorPayload } from 'vite'; declare const HTMLElement: typeof globalThis.HTMLElement; export declare class ErrorOverlay extends HTMLElement { constructor(err: ErrorPayload['err']); close(): void; } export declare function patchOverlay(code: string): string; export {};