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; /** @type {ReadonlyMap} */ prevTimestamps: ReadonlyMap< string, 'ignore' | FileSystemInfoEntry | null | undefined >; /** * @param {Compiler} compiler * @returns {void} */ apply(compiler: Compiler): void; /** * * @param {Compiler} compiler * @returns {string} */ getContext(compiler: Compiler): string; /** * @param {Compiler} compiler * @param {string[]} wanted * @param {string[]} exclude * @returns {string[]} */ getFiles(compiler: Compiler, wanted: string[], exclude: string[]): string[]; /** * @param {ReadonlyMap} fileTimestamps * @returns {string[]} */ getChangedFiles( fileTimestamps: ReadonlyMap< string, 'ignore' | FileSystemInfoEntry | null | undefined > ): string[]; }