import type { LoaderContext } from 'webpack/types'; import type ConverterBase from './ConverterBase'; declare type CacheType = { [resourcePath: string]: { cachePath: string; matchings: { [origClass: string]: string; }; type: 'new' | 'updated' | 'old'; }; }; declare class ConverterMinified implements ConverterBase { cacheDir: string; prefix: string; reservedNames: string[]; cache: {}; dirtyСache: CacheType; symbols: string[]; freeClasses: string[]; lastIndex: number; nextLoopEndsWith: number; currentLoopLength: number; nameMap: number[]; constructor(cacheDir: string, prefix?: string, reservedNames?: string[]); generateClassName(): string; getTargetClassName(origName: string): string; getLocalIdent({ resourcePath }: LoaderContext, _localIdent: string, origName: string): string; } export default ConverterMinified;