/** * Parse Jira API error responses into structured, user-friendly format */ export interface ParsedJiraError { type: 'ASSIGNEE_NOT_ASSIGNABLE' | 'VALIDATION_ERROR' | 'UNKNOWN'; userMessage: string; fields: Array<{ field: string; message: string; }>; debug: { status: number; url?: string; requestId?: string; payloadSummary?: string; }; } interface JiraErrorResponse { errorMessages?: string[]; errors?: Record; } export declare function parseJiraError(status: number, responseBody: JiraErrorResponse, options?: { url?: string; requestId?: string; payloadSummary?: string; }): ParsedJiraError; /** * Log detailed Jira error diagnostics to console (dev-facing) */ export declare function logJiraErrorDiagnostics(error: ParsedJiraError, context?: { projectKey?: string; issueType?: string; attemptedAssignee?: { accountId?: string; label?: string; }; }): void; export {}; //# sourceMappingURL=parseJiraError.d.ts.map