import type { Compiler } from '@rspack/core'; import type { DevOptions, PluginInterface } from '../types.js'; export declare const EXTENSIONJS_BACKGROUND_LAYER = "extensionjs-background"; export declare class JsFrameworksPlugin { static readonly name: string; readonly manifestPath: string; readonly browser: DevOptions['browser']; readonly mode: DevOptions['mode']; readonly transpilePackages: string[]; readonly define: Record; private readonly notices; constructor(options: PluginInterface & { mode: DevOptions['mode']; transpilePackages?: string[]; define?: Record; }); private findVueLoaderRuleIndices; private mergeVueRule; private applyReactPlugins; private configureOptions; private placeRefreshEntries; apply(compiler: Compiler): Promise; } type EntryDescription = { import?: string | string[]; layer?: string; }; type EntryMap = Record; export declare function withBackgroundLayer(entry: EntryMap | undefined): EntryMap; export declare function withRefreshEntries(entry: EntryMap | undefined, refreshEntries: string[]): EntryMap; export {};