import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext";
import { TriggeredListener } from "../../api/listener/TriggeredListener";
import { SoftwareDeliveryMachine } from "../../api/machine/SoftwareDeliveryMachine";
import { GoalStateOptions } from "./goalState";
/**
 * TriggeredListener that queries pending goal sets and updates their state according to state of
 * goals
 */
export declare function manageGoalSetsTrigger(options?: GoalStateOptions["cancellation"]): TriggeredListener;
export declare function manageGoalSets(sdm: SoftwareDeliveryMachine, ctx: HandlerContext): Promise<void>;
export declare function timeoutInProcessGoals(sdm: SoftwareDeliveryMachine, ctx: HandlerContext, options?: GoalStateOptions["cancellation"]): Promise<void>;
//# sourceMappingURL=manageGoalSets.d.ts.map