import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding'; import type { Compiler, LibraryType } from '../index.js'; import { RspackBuiltinPlugin } from './base.js'; export declare class EnableLibraryPlugin extends RspackBuiltinPlugin { private type; name: BuiltinPluginName; constructor(type: LibraryType); static setEnabled(compiler: Compiler, type: LibraryType): void; static checkEnabled(compiler: Compiler, type: LibraryType): void; raw(compiler: Compiler): BuiltinPlugin | undefined; }