export default StylelintWebpackPlugin; export type Compiler = import('webpack').Compiler; export type Module = import('webpack').Module; export type Options = import('./options').Options; export type FileSystemInfoEntry = Partial< | { timestamp: number; } | number >; declare class StylelintWebpackPlugin { /** * @param {Options} options */ constructor(options?: Options); key: string; options: Partial; /** * @param {Compiler} compiler */ run(compiler: Compiler): Promise; startTime: number; prevTimestamps: Map; /** * @param {Compiler} compiler * @returns {void} */ apply(compiler: Compiler): void; /** * * @param {Compiler} compiler * @returns {string} */ getContext(compiler: Compiler): string; /** * @param {string[]} glob * @param {Compiler} compiler * @param {Module} module * @returns {string[]} */ getFiles(glob: string[], compiler: Compiler, module: Module): string[]; /** * @param {Map} fileTimestamps * @returns {string[]} */ getChangedFiles( fileTimestamps: Map ): string[]; }