import { HandlerContext, HandlerResult } from "@atomist/automation-client"; import { CommandHandlerRegistration, CommandListenerInvocation } from "@atomist/sdm"; import { JiraPreference } from "../cache/lookup"; declare class JiraChannelPrefsBase { slackChannelName: string; } declare class JiraChannelPrefs extends JiraChannelPrefsBase { issueCreated: boolean; issueDeleted: boolean; issueCommented: boolean; issueStatus: boolean; issueState: boolean; bug: boolean; task: boolean; epic: boolean; subtask: boolean; story: boolean; } export declare function setJiraChannelPrefs(ci: CommandListenerInvocation): Promise; export declare const setJiraChannelPrefsReg: CommandHandlerRegistration; /** * For supplied preferences, if there is data missing automatically set that missing preference to true * * @param {JiraPreference} prefs * @returns {JiraPreference} */ export declare function mungeJiraPrefs(prefs: JiraPreference): JiraPreference; export declare const queryJiraChannelPrefs: (ctx: HandlerContext, channel: string) => Promise; export declare function getJiraChannelPrefs(ci: CommandListenerInvocation): Promise; export declare const getJiraChannelPrefsReg: CommandHandlerRegistration; export {};