import { Callback } from "../callback"; import { IssueType as IssueTypeModel } from "../models"; export class IssueType { getAllIssueTypes( opts?: {}, callback?: Callback, ): Promise; createIssueType( opts: { name: string; description?: string; type?: 'subtype' | 'standard'; }, callback?: Callback, ): Promise; getIssueType( opts: { issueTypeId: string }, callback?: Callback, ): Promise; updateIssueType( opts: { issueTypeId: string; issueType: Partial<{ name: string; description: string; avatarId: string | number; }>; }, callback?: Callback, ): Promise; deleteIssueType( opts: { issueTypeId: string; alternativeIssueTypeId?: string; }, callback?: Callback, ): Promise; getAlternativeIssueTypes( opts: { issueTypeId: string }, callback?: Callback, ): Promise; }