import { Callback } from "../callback"; import { PageBeanVersion } from "../models"; export class Project { getAllProjects( opts?: { expand?: string; recent?: number; properties?: string[]; apiVersion?: string | number | 2 | 3; }, callback?: Callback ): Promise; updateProject( opts: { projectIdOrKey: string | number; expand?: string; key?: string; name?: string; projectTypeKey?: string; projectTemplateKey?: string; description?: string; lead?: string; leadAccountId?: string; url?: string; assigneeType?: string; avatarId?: number; issueSecurityScheme?: number; permissionScheme?: number; notificationScheme?: number; categoryId?: number; }, callback?: Callback ): Promise; deleteProject( opts: { projectIdOrKey: string | number }, callback?: Callback ): Promise; createProject(opts?: any, callback?: Callback): Promise; getProjectProperties(opts: any, callback?: Callback): Promise; getProject(opts: any, callback?: Callback): Promise; getComponents(opts: any, callback?: Callback): Promise; getStatuses(opts: any, callback?: Callback): Promise; getVersions(opts: any, callback?: Callback): Promise; getVersionsPaginated(opts: { projectIdOrKey: string; startAt?: number; maxResults?: number; orderBy?: string; query?: string; status?: string; expand?: any[]; }, callback?: Callback): Promise; getRoles(opts: any, callback?: Callback): Promise; getRole(opts: any, callback?: Callback): Promise; updateRole(opts: any, callback?: Callback): Promise; addToRole(opts: any, callback?: Callback): Promise; }