import { type RawCssExtractPluginOption } from '@rspack/binding'; import type { Compiler, LiteralUnion } from '../../index.js'; export * from './loader.js'; export type { CssExtractRspackLoaderOptions } from './loader.js'; export interface CssExtractRspackPluginOptions { filename?: RawCssExtractPluginOption['filename']; chunkFilename?: RawCssExtractPluginOption['chunkFilename']; ignoreOrder?: boolean; insert?: string | ((linkTag: HTMLLinkElement) => void); attributes?: Record; linkType?: LiteralUnion<'text/css', string> | false; runtime?: boolean; pathinfo?: boolean; enforceRelative?: boolean; } export declare class CssExtractRspackPlugin { static pluginName: string; static loader: string; options: CssExtractRspackPluginOptions; constructor(options?: CssExtractRspackPluginOptions); apply(compiler: Compiler): void; normalizeOptions(options: CssExtractRspackPluginOptions): RawCssExtractPluginOption; } export default CssExtractRspackPlugin;