1 | import { SlackMessage } from "@atomist/slack-messages";
|
2 | import { Goal } from "../Goal";
|
3 | import { EssentialGoalInfo } from "./createGoal";
|
4 | /**
|
5 | * How to present a suggested goal action to the user
|
6 | */
|
7 | export interface ActionSuggestion extends EssentialGoalInfo {
|
8 | message: string | SlackMessage;
|
9 | /**
|
10 | * URL showing further information if available
|
11 | */
|
12 | url?: string;
|
13 | /**
|
14 | * Whether to use standard formatting for an action suggestion.
|
15 | * Set to false to gain total control.
|
16 | */
|
17 | format?: boolean;
|
18 | }
|
19 | /**
|
20 | * Return a goal that suggests an action to the user.
|
21 | */
|
22 | export declare function suggestAction(suggestion: ActionSuggestion): Goal;
|
23 | //# sourceMappingURL=suggestAction.d.ts.map |
\ | No newline at end of file |