/** * Ticket Created Handler * * Handles webhook events when new tickets are created. * Triggers orchestrator workflow when ticket is assigned to cursor.automation. */ import type { JiraWebhookEvent } from "./webhook-handler"; /** * Check if a webhook event represents a ticket creation */ export declare function isTicketCreated(event: JiraWebhookEvent): boolean; /** * Handle ticket creation event * Triggers orchestrator workflow when assignee matches cursor.automation */ export declare function handleTicketCreated(event: JiraWebhookEvent, _baseDir?: string): Promise<{ triggered: boolean; folderPath?: string; branchName?: string; synced?: boolean; error?: string; assignee?: string; }>; /** * Process webhook event and handle ticket creation * This is the main entry point for ticket creation webhook processing */ export declare function processTicketCreatedWebhook(event: JiraWebhookEvent, baseDir?: string): Promise<{ handled: boolean; result?: Awaited>; }>; //# sourceMappingURL=ticket-created-handler.d.ts.map