import type { Linter } from "eslint"; /** * The browser globals a web worker does not have -- `window`, `document`, * `localStorage`, `alert`, the DOM element classes and the rest -- each set to * "off". Flat config merges `languageOptions.globals` across the blocks that * match a file, so a block for worker files cannot take a browser global away * by leaving it out; it has to switch it off. */ export declare const browserOnlyGlobalsOff: Linter.Globals; /** Whether `filename`, relative to `cwd`, is a web worker file by its path. */ export declare function isWorkerFile(filename: string, cwd: string): boolean;