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