/** * Orchestrator Notifier * * Notifies orchestrator when Jira events occur (ticket created, updated, transitioned) */ import type { JiraIssue } from "../types"; export interface JiraEventData { event: "ticket_created" | "ticket_updated" | "ticket_transitioned"; ticketKey: string; timestamp: string; data: { summary?: string; description?: string; status?: string; assignee?: string | null; priority?: string; labels?: string[]; issueType?: string; fields?: Partial; transition?: { from: string; to: string; }; }; } /** * Notify orchestrator about a Jira event */ export declare function notifyOrchestratorOfJiraEvent(event: JiraEventData["event"], ticket: JiraIssue, transition?: { from: string; to: string; }): Promise; /** * Notify orchestrator when ticket is created */ export declare function notifyTicketCreated(ticket: JiraIssue): Promise; /** * Notify orchestrator when ticket is updated */ export declare function notifyTicketUpdated(ticket: JiraIssue, previousStatus?: string): Promise; //# sourceMappingURL=orchestrator-notifier.d.ts.map