/* eslint-disable */ declare module "ansi-html-community" { function ansiHtmlCommunity(str: string): string; namespace ansiHtmlCommunity { function setColors(colors: Record): void; } export = ansiHtmlCommunity; } interface ClientReporter { cleanProblemsCache(name: string): void; problems( type: "errors" | "warnings", obj: { errors: string[]; warnings: string[]; name?: string }, ): boolean; success(obj?: { name?: string }): void; useCustomOverlay(customOverlay: unknown): void; } interface EventSourceWrapper { addMessageListener(fn: (event: { data: string }) => void): void; close(): void; } interface OverlayTrustedTypesPolicy { createHTML(value: string): string; } interface Window { __wdmEventSourceWrapper?: Record; __webpack_dev_middleware_hot_reporter__?: ClientReporter; trustedTypes?: { createPolicy( name: string, rules: { createHTML(value: string): string }, ): OverlayTrustedTypesPolicy; }; }