UNPKG

1.11 kBTypeScriptView Raw
1import { Attachment, SlackMessage } from "@atomist/slack-messages";
2import { Contextual } from "./handler";
3export declare function slackSuccessMessage(title: string, text: string, ctx: Contextual<any, any>, options?: Partial<Attachment>): SlackMessage;
4export declare function slackQuestionMessage(title: string, text: string, ctx: Contextual<any, any>, options?: Partial<Attachment>): SlackMessage;
5export declare function slackInfoMessage(title: string, text: string, ctx: Contextual<any, any>, options?: Partial<Attachment>): SlackMessage;
6export declare function slackWarningMessage(title: string, text: string, ctx: Contextual<any, any>, options?: Partial<Attachment>): SlackMessage;
7export declare function slackErrorMessage(title: string, text: string, ctx: Contextual<any, any>, options?: Partial<Attachment>): SlackMessage;
8export declare function slackSupportLink(ctx: Contextual<any, any>): string;
9export declare function slackFooter(ctx: Contextual<any, any>): string;
10export declare function slackTs(): number;
11export declare function slackSeparator(): string;
12//# sourceMappingURL=messages.d.ts.map
\No newline at end of file