1 | import { LintError } from "./lintError";
|
2 | /**
|
3 | * Takes the full text of a .lint file and returns the contents of the file
|
4 | * with all error markup removed
|
5 | */
|
6 | export declare function removeErrorMarkup(text: string): string;
|
7 | /**
|
8 | * Takes the full text of a .lint file and returns an array of LintErrors
|
9 | * corresponding to the error markup in the file.
|
10 | */
|
11 | export declare function parseErrorsFromMarkup(text: string): LintError[];
|
12 | export declare function createMarkupFromErrors(code: string, lintErrors: LintError[]): string;
|