/** * Bugs Sync - Update bugs.json with Jira issue keys * * Syncs Jira ticket creation results back to bugs.json file */ import type { BugItem, BugsJson } from "./json-reader"; import type { TicketCreationResult } from "./ticket-creator"; export declare function updateBugStatusesToSending(filePath: string, bugIds: string[]): void; /** * Update bugs.json with Jira issue keys from ticket creation results */ export declare function updateBugsWithJiraKeys(filePath: string, results: TicketCreationResult[]): BugsJson; /** * Sync bug status from Jira back to bugs.json */ export declare function syncBugStatusFromJira(filePath: string, getIssueStatus: (issueKey: string) => Promise<{ status: string; resolution?: string; }>): Promise<{ updated: number; errors: number; }>; /** * Get bugs that have Jira keys but status might be out of sync */ export declare function getBugsNeedingStatusSync(bugs: BugItem[]): BugItem[]; /** * Get bugs that need Jira tickets created */ export declare function getBugsNeedingTickets(bugs: BugItem[]): BugItem[]; /** * Update bug status in bugs.json file */ export declare function updateBugStatus(filePath: string, bugId: string, newStatus: string): void; //# sourceMappingURL=bugs-sync.d.ts.map