import type * as TTypescript from 'typescript'; import type * as TEslint from 'eslint'; import type * as TEslintLegacy from 'eslint-8'; import type { HeftConfiguration } from '@rushstack/heft'; import { LinterBase, type ILinterBaseOptions } from './LinterBase'; import type { IExtendedSourceFile } from './internalTypings/TypeScriptInternals'; interface IEslintOptions extends ILinterBaseOptions { eslintPackage: typeof TEslint | typeof TEslintLegacy; eslintTimings: Map; } export declare class Eslint extends LinterBase { private readonly _eslintPackage; private readonly _eslintPackageVersion; private readonly _linter; private readonly _eslintTimings; private readonly _currentFixMessages; private readonly _fixMessagesByResult; private readonly _sarifLogPath; private readonly _configHashMap; protected constructor(options: IEslintOptions); static resolveEslintConfigFilePathAsync(heftConfiguration: HeftConfiguration): Promise; static initializeAsync(options: ILinterBaseOptions): Promise; printVersionHeader(): void; protected getCacheVersionAsync(): Promise; protected getSourceFileHashAsync(sourceFile: IExtendedSourceFile): Promise; protected lintFileAsync(sourceFile: TTypescript.SourceFile): Promise; protected lintingFinishedAsync(lintResults: TEslint.ESLint.LintResult[]): Promise; protected isFileExcludedAsync(filePath: string): Promise; protected hasLintFailures(lintResults: (TEslint.ESLint.LintResult | TEslintLegacy.ESLint.LintResult)[]): boolean; private _getLintFileError; } export {}; //# sourceMappingURL=Eslint.d.ts.map