/** * Custom error class for Jira API errors */ export declare class JiraError extends Error { /** The HTTP status code */ status: number; /** The error details */ errors: Record; /** The error messages */ errorMessages: string[]; /** * Create a new JiraError * @param message - The error message * @param status - The HTTP status code * @param errors - The error details * @param errorMessages - The error messages */ constructor(message: string, status?: number, errors?: Record, errorMessages?: string[]); } /** * Handle an error from the Jira API * @param error - The error to handle * @returns A JiraError with the error details */ export declare function handleApiError(error: unknown): JiraError; /** * Check if an error is a Jira API error * @param error - The error to check * @returns Whether the error is a Jira API error */ export declare function isJiraError(error: unknown): error is JiraError; //# sourceMappingURL=error.d.ts.map