import type { Compiler } from '@rspack/core'; import type { DevOptions, PluginInterface } from '../types.js'; export declare function polyfillAlias(options: { polyfill: DevOptions['polyfill']; browser: DevOptions['browser']; context?: string; }): Record; export declare class CompatibilityPlugin { static readonly name: string; readonly manifestPath: string; readonly browser: DevOptions['browser']; readonly polyfill: DevOptions['polyfill']; readonly devSession?: boolean; readonly command?: 'dev' | 'start' | 'build'; constructor(options: PluginInterface & { polyfill?: DevOptions['polyfill']; command?: 'dev' | 'start' | 'build'; }); apply(compiler: Compiler): void; }