export default class TranslationLinter { previousContent: string | null | undefined; /** * Runs the poentry linter on the given perseus string asynchronously. * * It doesn't do anything unless we're in a KA environment. * * onLintErrorsGenerated is called even if there are no errors. It is not * called if perseusStr is unchanged from the last call. * * Linting is relatively expensive -- so we debounce linting each instance * for some amount of time. */ runLinter: any; /** * Applies an array of errors generated by linters without position * information (TranslationLinter and the legacy getSaveWarnings()) to the * top of a Perseus tree. */ applyLintErrors(parsedMarkdown: any, translationLintErrors: ReadonlyArray): void; }