import { EventFired, HandlerContext } from "@atomist/automation-client"; import { SlackMessage } from "@atomist/slack-messages"; import { CardMessage } from "../../../lifecycle/card"; import { Lifecycle, LifecycleHandler, Preferences } from "../../../lifecycle/Lifecycle"; import { Contributions } from "../../../lifecycleSupport"; import * as graphql from "../../../typings/types"; import { PushToPushLifecycle, SdmGoalFields } from "../../../typings/types"; export declare class PushCardLifecycleHandler extends LifecycleHandler { private readonly extractNodes; private readonly contributors; constructor(extractNodes: (event: EventFired) => PushToPushLifecycle.Push[], contributors: Contributions); protected prepareMessage(lifecycle: Lifecycle, ctx: HandlerContext): Promise; protected prepareLifecycle(event: EventFired, ctx: HandlerContext): Lifecycle[]; protected extractPreferences(event: EventFired): { [teamId: string]: Preferences[]; }; } export declare class PushLifecycleHandler extends LifecycleHandler { private readonly extractNodes; private readonly _extractPreferences; private readonly contributors; constructor(extractNodes: (event: EventFired) => PushToPushLifecycle.Push[], _extractPreferences: (event: EventFired) => { [teamId: string]: Preferences[]; }, contributors: Contributions); protected prepareMessage(lifecycle: Lifecycle, ctx: HandlerContext): Promise; protected prepareLifecycle(event: EventFired): Lifecycle[]; private filterChannels; protected extractPreferences(event: EventFired): { [teamId: string]: Preferences[]; }; } export interface Domain { name: string; apps: graphql.PushFields.Apps[]; } export interface GoalSet { goalSetId: string; goals: SdmGoalFields.Fragment[]; ts: number; }