import { ProjectReview, ReviewComment } from "@atomist/automation-client/lib/operations/review/ReviewResult";
import { NoParameters } from "@atomist/automation-client/lib/SmartParameters";
import { CodeInspection, CodeInspectionRegistration } from "../../../api/registration/CodeInspectionRegistration";
export interface EslintMessage {
    ruleId: string;
    severity: number;
    message: string;
    line: number;
    column: number;
}
export interface EslintResult {
    filePath: string;
    messages?: EslintMessage[];
}
export declare type EslintResults = EslintResult[];
export declare const esLintReviewCategory = "eslint";
export declare function mapEslintResultsToReviewComments(tslintOutput: string, dir: string): ReviewComment[];
export declare const RunEslintOnProject: CodeInspection<ProjectReview, NoParameters>;
/**
 * Provide a code inspection that runs eslint and returns a
 * ProjectReview.
 */
export declare const EslintInspection: CodeInspectionRegistration<ProjectReview, NoParameters>;
//# sourceMappingURL=eslint.d.ts.map