import { type Compiler } from '@rspack/core'; import { type EmittedCompilation, type EmittedModule } from '../lib/emitted-evidence.js'; import type { DevOptions, PluginInterface } from '../types.js'; import * as messages from './compatibility-lib/messages.js'; type BrowserGlobalWarningCommand = NonNullable; interface ScanCompilation extends EmittedCompilation { modules: Iterable; } export declare function browserReadLine(text: string): number | undefined; export declare function sourcesBehind(compilation: ScanCompilation, scripts: string[], manifestDir: string): string[]; export declare function declaresNativeBrowserNamespace(manifest: { minimum_chrome_version?: unknown; devtools_page?: unknown; }): boolean; export declare class WarnBrowserGlobalWithoutPolyfill { readonly manifestPath: string; readonly browser: DevOptions['browser']; readonly devSession?: boolean; readonly command?: BrowserGlobalWarningCommand; constructor(options: PluginInterface & { command?: BrowserGlobalWarningCommand; }); apply(compiler: Compiler): void; } export {};