import { Configuration } from "@atomist/automation-client/lib/configuration";
import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext";
import { SdmGoalEvent } from "../../api/goal/SdmGoalEvent";
/**
 * Check if current goal is already canceled
 */
export declare function isGoalCanceled(sdmGoal: SdmGoalEvent, ctx: HandlerContext): Promise<boolean>;
/**
 * Can goal be canceled
 */
export declare function cancelableGoal(sdmGoal: SdmGoalEvent, configuration: Configuration): Promise<boolean>;
//# sourceMappingURL=cancelGoals.d.ts.map