import type { Rspack } from '@rslib/core'; /** * The options of {@link MainThreadRuntimeWrapperWebpackPlugin}. * * @public */ export interface MainThreadRuntimeWrapperWebpackPluginOptions { /** * Include all modules that pass test assertion. * * @defaultValue `/\.js$/` * * @public */ test: Extract['test']; } /** * The main-thread runtime wrapper for external bundle. * * @public */ export declare class MainThreadRuntimeWrapperWebpackPlugin { private options; constructor(options?: Partial); apply(compiler: Rspack.Compiler): void; }