import type * as webpack from 'webpack'; import type { SupplementedLoaderContext } from './constants'; export type WebpackLoaderOptions = { /** * Salt to use for class names hashing. * * This loader will not perform any hashing, it will just perform validation to ensure that all processed files * use the same salt. */ classNameHashSalt?: string; /** * Please never use this feature, it will be removed without further notice. */ unstable_keepOriginalCode?: boolean; }; type WebpackLoaderParams = Parameters>; export declare function validateHashSalt(sourceCode: string, classNameHashSalt: string): void; declare function webpackLoader(this: SupplementedLoaderContext, sourceCode: WebpackLoaderParams[0], inputSourceMap: WebpackLoaderParams[1]): void; export default webpackLoader;