import { RsbuildPlugin } from '@rsbuild/core'; type Options = { /** * Whether to set an alias for webpack * @default true */ webpack?: boolean; /** * postcss config * @default * { * clearBuiltinPlugins: true, * configDir: './' * } */ postcss?: { /** * Whether to clear the built-in plugins * @default true */ clearBuiltinPlugins?: boolean; /** * Postcss config directory * @default './' */ configDir?: string; /** * This is a custom postcss-loader options, setting this will use a custom postcss-loader. * Make sure you have installed postcss-loader and postcss. * If this option is set, other postcss options will become invalid. * @default undefined */ customPostcssLoaderOptions?: any; /** * Whether to add an empty-loader before postcss-loader * @default false */ addEmptyLoader?: boolean; } | false; }; declare function rsbuildPluginLegacyDeps(options?: Options): RsbuildPlugin; export { type Options, rsbuildPluginLegacyDeps as default };