1 | import { AbstractTextLintEngine } from "./engine/textlint-engine-core";
|
2 | import { TextLintCore } from "./textlint-core";
|
3 | import { TextLintFormatterOption } from "../textlint-interface";
|
4 | import { TextlintFixResult } from "@textlint/kernel";
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare class TextFixEngine extends AbstractTextLintEngine<TextlintFixResult> {
|
11 | constructor(...args: any[]);
|
12 | /**
|
13 | * @param {TextLintCore} textlintCore
|
14 | * @returns {function()}
|
15 | */
|
16 | onFile: (textlintCore: TextLintCore) => (file: string) => Promise<TextlintFixResult>;
|
17 | |
18 |
|
19 |
|
20 |
|
21 | onText: (textlintCore: TextLintCore) => (text: string, ext?: string) => Promise<TextlintFixResult>;
|
22 | |
23 |
|
24 |
|
25 | onFormat: (formatterConfig: TextLintFormatterOption) => (results: TextlintFixResult[]) => string;
|
26 | }
|
27 |
|
\ | No newline at end of file |