1 | import { ExtractAuthor, GoalInvocationParameters } from "../../../api-helper/listener/executeAutofixes";
|
2 | import { AutofixRegistration } from "../../registration/AutofixRegistration";
|
3 | import { CodeTransform } from "../../registration/CodeTransform";
|
4 | import { TransformPresentation } from "../../registration/CodeTransformRegistration";
|
5 | import { Goal } from "../Goal";
|
6 | import { FulfillableGoalDetails, FulfillableGoalWithRegistrations } from "../GoalWithFulfillment";
|
7 |
|
8 |
|
9 |
|
10 | export interface AutofixGoalDetails extends FulfillableGoalDetails {
|
11 | |
12 |
|
13 |
|
14 | transformPresentation?: TransformPresentation<GoalInvocationParameters>;
|
15 | |
16 |
|
17 |
|
18 |
|
19 | setAuthor?: boolean | ExtractAuthor;
|
20 | }
|
21 |
|
22 |
|
23 |
|
24 | export declare class Autofix extends FulfillableGoalWithRegistrations<AutofixRegistration<any>> {
|
25 | constructor(goalDetailsOrUniqueName?: AutofixGoalDetails | string, ...dependsOn: Goal[]);
|
26 | /**
|
27 | * Add given transform to this Autofix goal
|
28 | * @param transform
|
29 | * @param name
|
30 | */
|
31 | withTransform(transform: CodeTransform<any>, name?: string): this;
|
32 | }
|
33 | //# sourceMappingURL=Autofix.d.ts.map |
\ | No newline at end of file |