type SourceMapOption = boolean | 'inline'; type PreprocessorName = 'sass' | 'less' | 'stylus'; type PreprocessorOptions = Partial>>; type InjectOption = boolean | Record; type ScopedCssRollupPluginOptions = { include?: string | RegExp | Array | null; exclude?: string | RegExp | Array | null; root?: string; sourceMap?: SourceMapOption; extract?: boolean | string; inject?: InjectOption; use?: PreprocessorOptions; }; export default function scopedCssRollupPlugin(options?: ScopedCssRollupPluginOptions): { name: string; transform(this: any, rawCode: string, id: string): Promise<{ code: string; map: { mappings: string; }; }>; generateBundle(this: any, outputOptions: any, bundle: Record): void; }; export {};