import { ToolsSassConfig, ToolsLessConfig, LessLoaderOptions } from './types';
export declare const getSassLoaderOptions: (rsbuildSassConfig: ToolsSassConfig | undefined, isUseCssSourceMap: boolean) => {
  options: (Omit<import("../compiled/sass-loader/interfaces").LoaderOptions, "sassOptions"> & {
    api?: "legacy" | undefined;
    sassOptions?: Partial<import("../compiled/sass/types").LegacyOptions<"async">> | undefined;
  }) | (Omit<import("../compiled/sass-loader/interfaces").LoaderOptions, "sassOptions"> & {
    api: "modern";
    sassOptions?: import("../compiled/sass/types").Options<"async"> | undefined;
  });
  excludes: (string | RegExp)[];
};
export declare const getLessLoaderOptions: (rsbuildLessConfig: ToolsLessConfig | undefined, isUseCssSourceMap: boolean) => {
  options: LessLoaderOptions;
  excludes: (string | RegExp)[];
};