import { TodoConfig, TodoData } from '@lint-todo/utils'; import { LintResultWithTodo } from './types'; import { LinterResult } from 'stylelint'; export declare function formatter(results: LintResultWithTodo[], returnValue: LinterResult): string; /** * Mutates all errors present in the todo dir to todos in the results array. * * @param results Stylelint results array */ export declare function updateResults(results: LintResultWithTodo[], existingTodos: Set): void; export declare function buildMaybeTodos(baseDir: string, lintResults: LintResultWithTodo[], todoConfig?: TodoConfig, engine?: string): Set; /** * Updates the errored state in the results and the return value used as the exitCode * This is due required as the errored state may no longer be accurate due to * flipping errors into todos and also adding new errors as a result of todo violations * @param results * @param returnValue */ export declare function updateErroredState(results: LintResultWithTodo[], returnValue: LinterResult): void; //# sourceMappingURL=formatter.d.ts.map