declare module "github" { declare type Header = string; declare type EmptyParams = {}; declare type Options = { timeout?: number, host?: string, pathPrefix?: string, protocol?: string, port?: number, proxy?: string, ca?: string, headers?: { [header: Header]: any }, rejectUnauthorized?: boolean, family?: number }; declare type AuthBasic = { type: "basic", username: string, password: string }; declare type AuthOAuthToken = { type: "oauth", token: string }; declare type AuthOAuthSecret = { type: "oauth", key: string, secret: string }; declare type AuthUserToken = { type: "token", token: string }; declare type AuthJWT = { type: "integration", token: string }; /* @deprecated Use "app" instead of "integration */ declare type AuthDeprecatedJWT = { type: "integration", token: string }; declare type Auth = | AuthBasic | AuthOAuthToken | AuthOAuthSecret | AuthUserToken | AuthJWT | AuthDeprecatedJWT; declare type Link = | { link: string } | { headers: { link: string } } | string | any; declare type Callback = (error: ?Error, result: ?any) => any; declare type ActivityCheckStarringRepoParams = { owner: string, repo: string }; declare type ActivityDeleteRepoSubscriptionParams = { owner: string, repo: string }; declare type ActivityDeleteThreadSubscriptionParams = { thread_id: number }; declare type ActivityGetRepoSubscriptionParams = { owner: string, repo: string }; declare type ActivityGetThreadParams = { thread_id: number }; declare type ActivityGetThreadSubscriptionParams = { thread_id: number }; declare type ActivityListEventsForOrgParams = { username: string, org: string, per_page?: number, page?: number }; declare type ActivityListEventsForUserParams = { username: string, per_page?: number, page?: number }; declare type ActivityListNotificationsParams = { all?: boolean, participating?: boolean, since?: string, before?: string, per_page?: number, page?: number }; declare type ActivityListNotificationsForRepoParams = { owner: string, repo: string, all?: boolean, participating?: boolean, since?: string, before?: string, per_page?: number, page?: number }; declare type ActivityListPublicEventsParams = { per_page?: number, page?: number }; declare type ActivityListPublicEventsForOrgParams = { org: string, per_page?: number, page?: number }; declare type ActivityListPublicEventsForRepoNetworkParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ActivityListPublicEventsForUserParams = { username: string, per_page?: number, page?: number }; declare type ActivityListReceivedEventsForUserParams = { username: string, per_page?: number, page?: number }; declare type ActivityListReceivedPublicEventsForUserParams = { username: string, per_page?: number, page?: number }; declare type ActivityListRepoEventsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ActivityListReposStarredByAuthenticatedUserParams = { sort?: "created" | "updated", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type ActivityListReposStarredByUserParams = { username: string, sort?: "created" | "updated", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type ActivityListReposWatchedByUserParams = { username: string, per_page?: number, page?: number }; declare type ActivityListStargazersForRepoParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ActivityListWatchedReposForAuthenticatedUserParams = { per_page?: number, page?: number }; declare type ActivityListWatchersForRepoParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ActivityMarkAsReadParams = { last_read_at?: string }; declare type ActivityMarkNotificationsAsReadForRepoParams = { owner: string, repo: string, last_read_at?: string }; declare type ActivityMarkThreadAsReadParams = { thread_id: number }; declare type ActivitySetRepoSubscriptionParams = { owner: string, repo: string, subscribed?: boolean, ignored?: boolean }; declare type ActivitySetThreadSubscriptionParams = { thread_id: number, ignored?: boolean }; declare type ActivityStarRepoParams = { owner: string, repo: string }; declare type ActivityUnstarRepoParams = { owner: string, repo: string }; declare type AppsAddRepoToInstallationParams = { installation_id: number, repository_id: number }; declare type AppsCheckAccountIsAssociatedWithAnyParams = { account_id: number, per_page?: number, page?: number }; declare type AppsCheckAccountIsAssociatedWithAnyStubbedParams = { account_id: number, per_page?: number, page?: number }; declare type AppsCreateFromManifestParams = { code: string }; declare type AppsCreateInstallationTokenParams = { installation_id: number }; declare type AppsFindOrgInstallationParams = { org: string }; declare type AppsFindRepoInstallationParams = { owner: string, repo: string }; declare type AppsFindUserInstallationParams = { username: string }; declare type AppsGetBySlugParams = { app_slug: string }; declare type AppsGetInstallationParams = { installation_id: number }; declare type AppsListAccountsUserOrOrgOnPlanParams = { plan_id: number, sort?: "created" | "updated", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type AppsListAccountsUserOrOrgOnPlanStubbedParams = { plan_id: number, sort?: "created" | "updated", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type AppsListInstallationReposForAuthenticatedUserParams = { installation_id: number, per_page?: number, page?: number }; declare type AppsListInstallationsParams = { per_page?: number, page?: number }; declare type AppsListInstallationsForAuthenticatedUserParams = { per_page?: number, page?: number }; declare type AppsListMarketplacePurchasesForAuthenticatedUserParams = { per_page?: number, page?: number }; declare type AppsListMarketplacePurchasesForAuthenticatedUserStubbedParams = { per_page?: number, page?: number }; declare type AppsListPlansParams = { per_page?: number, page?: number }; declare type AppsListPlansStubbedParams = { per_page?: number, page?: number }; declare type AppsListReposParams = { per_page?: number, page?: number }; declare type AppsRemoveRepoFromInstallationParams = { installation_id: number, repository_id: number }; declare type AuthorizationCheckAuthorizationParams = { client_id: string, access_token: string }; declare type AuthorizationCreateAuthorizationParams = { scopes?: string[], note: string, note_url?: string, client_id?: string, client_secret?: string, fingerprint?: string }; declare type AuthorizationDeleteAuthorizationParams = { authorization_id: number }; declare type AuthorizationDeleteGrantParams = { grant_id: number }; declare type AuthorizationGetAuthorizationParams = { authorization_id: number }; declare type AuthorizationGetGrantParams = { grant_id: number }; declare type AuthorizationGetOrCreateAuthorizationForAppParams = { client_id: string, client_secret: string, scopes?: string[], note?: string, note_url?: string, fingerprint?: string }; declare type AuthorizationGetOrCreateAuthorizationForAppFingerprintParams = { client_id: string, fingerprint: string, client_secret: string, scopes?: string[], note?: string, note_url?: string }; declare type AuthorizationListAuthorizationsParams = { per_page?: number, page?: number }; declare type AuthorizationListGrantsParams = { per_page?: number, page?: number }; declare type AuthorizationResetAuthorizationParams = { client_id: string, access_token: string }; declare type AuthorizationRevokeAuthorizationForApplicationParams = { client_id: string, access_token: string }; declare type AuthorizationRevokeGrantForApplicationParams = { client_id: string, access_token: string }; declare type AuthorizationUpdateAuthorizationParams = { authorization_id: number, scopes?: string[], add_scopes?: string[], remove_scopes?: string[], note?: string, note_url?: string, fingerprint?: string }; declare type ChecksCreateParams = { owner: string, repo: string, name: string, head_sha: string, details_url?: string, external_id?: string, status?: "queued" | "in_progress" | "completed", started_at?: string, conclusion?: | "success" | "failure" | "neutral" | "cancelled" | "timed_out" | "action_required", completed_at?: string, output?: ChecksCreateParamsOutput, actions?: ChecksCreateParamsActions[] }; declare type ChecksCreateSuiteParams = { owner: string, repo: string, head_sha: string }; declare type ChecksGetParams = { owner: string, repo: string, check_run_id: number }; declare type ChecksGetSuiteParams = { owner: string, repo: string, check_suite_id: number }; declare type ChecksListAnnotationsParams = { owner: string, repo: string, check_run_id: number, per_page?: number, page?: number }; declare type ChecksListForRefParams = { owner: string, repo: string, ref: string, check_name?: string, status?: "queued" | "in_progress" | "completed", filter?: "latest" | "all", per_page?: number, page?: number }; declare type ChecksListForSuiteParams = { owner: string, repo: string, check_suite_id: number, check_name?: string, status?: "queued" | "in_progress" | "completed", filter?: "latest" | "all", per_page?: number, page?: number }; declare type ChecksListSuitesForRefParams = { owner: string, repo: string, ref: string, app_id?: number, check_name?: string, per_page?: number, page?: number }; declare type ChecksRerequestSuiteParams = { owner: string, repo: string, check_suite_id: number }; declare type ChecksSetSuitesPreferencesParams = { owner: string, repo: string, auto_trigger_checks?: ChecksSetSuitesPreferencesParamsAutoTriggerChecks[] }; declare type ChecksUpdateParams = { owner: string, repo: string, check_run_id: number, name?: string, details_url?: string, external_id?: string, started_at?: string, status?: "queued" | "in_progress" | "completed", conclusion?: | "success" | "failure" | "neutral" | "cancelled" | "timed_out" | "action_required", completed_at?: string, output?: ChecksUpdateParamsOutput, actions?: ChecksUpdateParamsActions[] }; declare type CodesOfConductGetConductCodeParams = { key: string }; declare type CodesOfConductGetForRepoParams = { owner: string, repo: string }; declare type GistsCheckIsStarredParams = { gist_id: string }; declare type GistsCreateParams = { files: GistsCreateParamsFiles, description?: string, public?: boolean }; declare type GistsCreateCommentParams = { gist_id: string, body: string }; declare type GistsDeleteParams = { gist_id: string }; declare type GistsDeleteCommentParams = { gist_id: string, comment_id: number }; declare type GistsForkParams = { gist_id: string }; declare type GistsGetParams = { gist_id: string }; declare type GistsGetCommentParams = { gist_id: string, comment_id: number }; declare type GistsGetRevisionParams = { gist_id: string, sha: string }; declare type GistsListParams = { since?: string, per_page?: number, page?: number }; declare type GistsListCommentsParams = { gist_id: string, per_page?: number, page?: number }; declare type GistsListCommitsParams = { gist_id: string, per_page?: number, page?: number }; declare type GistsListForksParams = { gist_id: string, per_page?: number, page?: number }; declare type GistsListPublicParams = { since?: string, per_page?: number, page?: number }; declare type GistsListPublicForUserParams = { username: string, since?: string, per_page?: number, page?: number }; declare type GistsListStarredParams = { since?: string, per_page?: number, page?: number }; declare type GistsStarParams = { gist_id: string }; declare type GistsUnstarParams = { gist_id: string }; declare type GistsUpdateParams = { gist_id: string, description?: string, files?: GistsUpdateParamsFiles }; declare type GistsUpdateCommentParams = { gist_id: string, comment_id: number, body: string }; declare type GitdataCreateBlobParams = { owner: string, repo: string, content: string, encoding?: string }; declare type GitdataCreateCommitParams = { owner: string, repo: string, message: string, tree: string, parents: string[], committer?: GitdataCreateCommitParamsCommitter, author?: GitdataCreateCommitParamsAuthor }; declare type GitdataCreateRefParams = { owner: string, repo: string, ref: string, sha: string }; declare type GitdataCreateTagParams = { owner: string, repo: string, tag: string, message: string, object: string, type: "commit" | "tree" | "blob", tagger?: GitdataCreateTagParamsTagger }; declare type GitdataCreateTreeParams = { owner: string, repo: string, tree: GitdataCreateTreeParamsTree[], base_tree?: string }; declare type GitdataDeleteRefParams = { owner: string, repo: string, ref: string }; declare type GitdataGetBlobParams = { owner: string, repo: string, file_sha: string }; declare type GitdataGetCommitParams = { owner: string, repo: string, commit_sha: string }; declare type GitdataGetRefParams = { owner: string, repo: string, ref: string }; declare type GitdataGetTagParams = { owner: string, repo: string, tag_sha: string }; declare type GitdataGetTreeParams = { owner: string, repo: string, tree_sha: string, recursive?: 1 }; declare type GitdataListRefsParams = { owner: string, repo: string, namespace?: string, per_page?: number, page?: number }; declare type GitdataUpdateRefParams = { owner: string, repo: string, ref: string, sha: string, force?: boolean }; declare type GitignoreGetTemplateParams = { name: string }; declare type IssuesAddAssigneesParams = { owner: string, repo: string, number: number, assignees?: string[] }; declare type IssuesAddLabelsParams = { owner: string, repo: string, number: number, labels: string[] }; declare type IssuesCheckAssigneeParams = { owner: string, repo: string, assignee: string }; declare type IssuesCreateParams = { owner: string, repo: string, title: string, body?: string, assignee?: string, milestone?: number, labels?: string[], assignees?: string[] }; declare type IssuesCreateCommentParams = { owner: string, repo: string, number: number, body: string }; declare type IssuesCreateLabelParams = { owner: string, repo: string, name: string, color: string, description?: string }; declare type IssuesCreateMilestoneParams = { owner: string, repo: string, title: string, state?: "open" | "closed", description?: string, due_on?: string }; declare type IssuesDeleteCommentParams = { owner: string, repo: string, comment_id: number }; declare type IssuesDeleteLabelParams = { owner: string, repo: string, name: string }; declare type IssuesDeleteMilestoneParams = { owner: string, repo: string, number: number }; declare type IssuesGetParams = { owner: string, repo: string, number: number }; declare type IssuesGetCommentParams = { owner: string, repo: string, comment_id: number, per_page?: number, page?: number }; declare type IssuesGetEventParams = { owner: string, repo: string, event_id: number }; declare type IssuesGetLabelParams = { owner: string, repo: string, name: string }; declare type IssuesGetMilestoneParams = { owner: string, repo: string, number: number }; declare type IssuesListParams = { filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all", state?: "open" | "closed" | "all", labels?: string, sort?: "created" | "updated" | "comments", direction?: "asc" | "desc", since?: string, per_page?: number, page?: number }; declare type IssuesListAssigneesParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type IssuesListCommentsParams = { owner: string, repo: string, number: number, since?: string, per_page?: number, page?: number }; declare type IssuesListCommentsForRepoParams = { owner: string, repo: string, sort?: "created" | "updated", direction?: "asc" | "desc", since?: string }; declare type IssuesListEventsParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type IssuesListEventsForRepoParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type IssuesListEventsForTimelineParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type IssuesListForAuthenticatedUserParams = { filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all", state?: "open" | "closed" | "all", labels?: string, sort?: "created" | "updated" | "comments", direction?: "asc" | "desc", since?: string, per_page?: number, page?: number }; declare type IssuesListForOrgParams = { org: string, filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all", state?: "open" | "closed" | "all", labels?: string, sort?: "created" | "updated" | "comments", direction?: "asc" | "desc", since?: string, per_page?: number, page?: number }; declare type IssuesListForRepoParams = { owner: string, repo: string, milestone?: string, state?: "open" | "closed" | "all", assignee?: string, creator?: string, mentioned?: string, labels?: string, sort?: "created" | "updated" | "comments", direction?: "asc" | "desc", since?: string, per_page?: number, page?: number }; declare type IssuesListLabelsForMilestoneParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type IssuesListLabelsForRepoParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type IssuesListLabelsOnIssueParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type IssuesListMilestonesForRepoParams = { owner: string, repo: string, state?: "open" | "closed" | "all", sort?: "due_on" | "completeness", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type IssuesLockParams = { owner: string, repo: string, number: number, lock_reason?: "off-topic" | "too heated" | "resolved" | "spam" }; declare type IssuesRemoveAssigneesParams = { owner: string, repo: string, number: number, assignees?: string[] }; declare type IssuesRemoveLabelParams = { owner: string, repo: string, number: number, name: string }; declare type IssuesRemoveLabelsParams = { owner: string, repo: string, number: number }; declare type IssuesReplaceLabelsParams = { owner: string, repo: string, number: number, labels?: string[] }; declare type IssuesUnlockParams = { owner: string, repo: string, number: number }; declare type IssuesUpdateParams = { owner: string, repo: string, number: number, title?: string, body?: string, assignee?: string, state?: "open" | "closed", milestone?: number, labels?: string[], assignees?: string[] }; declare type IssuesUpdateCommentParams = { owner: string, repo: string, comment_id: number, body: string }; declare type IssuesUpdateLabelParams = { owner: string, repo: string, current_name: string, name?: string, color?: string, description?: string }; declare type IssuesUpdateMilestoneParams = { owner: string, repo: string, number: number, title?: string, state?: "open" | "closed", description?: string, due_on?: string }; declare type LicensesGetParams = { license: string }; declare type LicensesGetForRepoParams = { owner: string, repo: string }; declare type MarkdownRenderParams = { text: string, mode?: "markdown" | "gfm", context?: string }; declare type MarkdownRenderRawParams = { data: string }; declare type MigrationsCancelImportParams = { owner: string, repo: string }; declare type MigrationsDeleteArchiveForAuthenticatedUserParams = { migration_id: number }; declare type MigrationsDeleteArchiveForOrgParams = { org: string, migration_id: number }; declare type MigrationsGetArchiveForAuthenticatedUserParams = { migration_id: number }; declare type MigrationsGetArchiveForOrgParams = { org: string, migration_id: number }; declare type MigrationsGetCommitAuthorsParams = { owner: string, repo: string, since?: string }; declare type MigrationsGetImportProgressParams = { owner: string, repo: string }; declare type MigrationsGetLargeFilesParams = { owner: string, repo: string }; declare type MigrationsGetStatusForAuthenticatedUserParams = { migration_id: number }; declare type MigrationsGetStatusForOrgParams = { org: string, migration_id: number }; declare type MigrationsListForAuthenticatedUserParams = { per_page?: number, page?: number }; declare type MigrationsListForOrgParams = { org: string, per_page?: number, page?: number }; declare type MigrationsMapCommitAuthorParams = { owner: string, repo: string, author_id: number, email?: string, name?: string }; declare type MigrationsSetLfsPreferenceParams = { owner: string, repo: string, use_lfs: "opt_in" | "opt_out" }; declare type MigrationsStartForAuthenticatedUserParams = { repositories: string[], lock_repositories?: boolean, exclude_attachments?: boolean }; declare type MigrationsStartForOrgParams = { org: string, repositories: string[], lock_repositories?: boolean, exclude_attachments?: boolean }; declare type MigrationsStartImportParams = { owner: string, repo: string, vcs_url: string, vcs?: "subversion" | "git" | "mercurial" | "tfvc", vcs_username?: string, vcs_password?: string, tfvc_project?: string }; declare type MigrationsUnlockRepoForAuthenticatedUserParams = { migration_id: number, repo_name: string }; declare type MigrationsUnlockRepoForOrgParams = { org: string, migration_id: number, repo_name: string }; declare type MigrationsUpdateImportParams = { owner: string, repo: string, vcs_username?: string, vcs_password?: string }; declare type OrgsAddOrUpdateMembershipParams = { org: string, username: string, role?: "admin" | "member" }; declare type OrgsBlockUserParams = { org: string, username: string }; declare type OrgsCheckBlockedUserParams = { org: string, username: string }; declare type OrgsCheckMembershipParams = { org: string, username: string }; declare type OrgsCheckPublicMembershipParams = { org: string, username: string }; declare type OrgsConcealMembershipParams = { org: string, username: string }; declare type OrgsConvertMemberToOutsideCollaboratorParams = { org: string, username: string }; declare type OrgsCreateHookParams = { org: string, name: string, config: OrgsCreateHookParamsConfig, events?: string[], active?: boolean }; declare type OrgsCreateInvitationParams = { org: string, invitee_id?: number, email?: string, role?: "admin" | "direct_member" | "billing_manager", team_ids?: number[] }; declare type OrgsDeleteHookParams = { org: string, hook_id: number }; declare type OrgsGetParams = { org: string }; declare type OrgsGetHookParams = { org: string, hook_id: number }; declare type OrgsGetMembershipParams = { org: string, username: string }; declare type OrgsGetMembershipForAuthenticatedUserParams = { org: string }; declare type OrgsListParams = { since?: string, per_page?: number, page?: number }; declare type OrgsListBlockedUsersParams = { org: string }; declare type OrgsListForAuthenticatedUserParams = { per_page?: number, page?: number }; declare type OrgsListForUserParams = { username: string, per_page?: number, page?: number }; declare type OrgsListHooksParams = { org: string, per_page?: number, page?: number }; declare type OrgsListInvitationTeamsParams = { org: string, invitation_id: number, per_page?: number, page?: number }; declare type OrgsListMembersParams = { org: string, filter?: "2fa_disabled" | "all", role?: "all" | "admin" | "member", per_page?: number, page?: number }; declare type OrgsListMembershipsParams = { state?: "active" | "pending", per_page?: number, page?: number }; declare type OrgsListOutsideCollaboratorsParams = { org: string, filter?: "2fa_disabled" | "all", per_page?: number, page?: number }; declare type OrgsListPendingInvitationsParams = { org: string, per_page?: number, page?: number }; declare type OrgsListPublicMembersParams = { org: string, per_page?: number, page?: number }; declare type OrgsPingHookParams = { org: string, hook_id: number }; declare type OrgsPublicizeMembershipParams = { org: string, username: string }; declare type OrgsRemoveMemberParams = { org: string, username: string }; declare type OrgsRemoveMembershipParams = { org: string, username: string }; declare type OrgsRemoveOutsideCollaboratorParams = { org: string, username: string }; declare type OrgsUnblockUserParams = { org: string, username: string }; declare type OrgsUpdateParams = { org: string, billing_email?: string, company?: string, email?: string, location?: string, name?: string, description?: string, has_organization_projects?: boolean, has_repository_projects?: boolean, default_repository_permission?: "read" | "write" | "admin" | "none", members_can_create_repositories?: boolean }; declare type OrgsUpdateHookParams = { org: string, hook_id: number, config?: OrgsUpdateHookParamsConfig, events?: string[], active?: boolean }; declare type OrgsUpdateMembershipParams = { org: string, state: "active" }; declare type ProjectsAddCollaboratorParams = { project_id: number, username: string, permission?: "read" | "write" | "admin" }; declare type ProjectsCreateCardParams = { column_id: number, note?: string, content_id?: number, content_type?: string }; declare type ProjectsCreateColumnParams = { project_id: number, name: string }; declare type ProjectsCreateForOrgParams = { org: string, name: string, body?: string, per_page?: number, page?: number }; declare type ProjectsCreateForRepoParams = { owner: string, repo: string, name: string, body?: string, per_page?: number, page?: number }; declare type ProjectsDeleteParams = { project_id: number }; declare type ProjectsDeleteCardParams = { card_id: number }; declare type ProjectsDeleteColumnParams = { column_id: number }; declare type ProjectsGetParams = { project_id: number, per_page?: number, page?: number }; declare type ProjectsGetCardParams = { card_id: number }; declare type ProjectsGetColumnParams = { column_id: number }; declare type ProjectsListCardsParams = { column_id: number, archived_state?: "all" | "archived" | "not_archived", per_page?: number, page?: number }; declare type ProjectsListCollaboratorsParams = { project_id: number, affiliation?: "outside" | "direct" | "all", per_page?: number, page?: number }; declare type ProjectsListColumnsParams = { project_id: number, per_page?: number, page?: number }; declare type ProjectsListForOrgParams = { org: string, state?: "open" | "closed" | "all", per_page?: number, page?: number }; declare type ProjectsListForRepoParams = { owner: string, repo: string, state?: "open" | "closed" | "all", per_page?: number, page?: number }; declare type ProjectsMoveCardParams = { card_id: number, position: string, column_id?: number }; declare type ProjectsMoveColumnParams = { column_id: number, position: string }; declare type ProjectsRemoveCollaboratorParams = { project_id: number, username: string }; declare type ProjectsReviewUserPermissionLevelParams = { project_id: number, username: string }; declare type ProjectsUpdateParams = { project_id: number, name?: string, body?: string, state?: "open" | "closed", organization_permission?: string, public?: boolean, per_page?: number, page?: number }; declare type ProjectsUpdateCardParams = { card_id: number, note?: string, archived?: boolean }; declare type ProjectsUpdateColumnParams = { column_id: number, name: string }; declare type PullRequestsCheckIfMergedParams = { owner: string, repo: string, number: number }; declare type PullRequestsCreateParams = { owner: string, repo: string, title: string, head: string, base: string, body?: string, maintainer_can_modify?: boolean }; declare type PullRequestsCreateCommentParams = { owner: string, repo: string, number: number, body: string, commit_id: string, path: string, position: number }; declare type PullRequestsCreateCommentReplyParams = { owner: string, repo: string, number: number, body: string, in_reply_to: number }; declare type PullRequestsCreateFromIssueParams = { owner: string, repo: string, issue: number, head: string, base: string, maintainer_can_modify?: boolean }; declare type PullRequestsCreateReviewParams = { owner: string, repo: string, number: number, commit_id?: string, body?: string, event?: "APPROVE" | "REQUEST_CHANGES" | "COMMENT", comments?: PullRequestsCreateReviewParamsComments[] }; declare type PullRequestsCreateReviewRequestParams = { owner: string, repo: string, number: number, reviewers?: string[], team_reviewers?: string[] }; declare type PullRequestsDeleteCommentParams = { owner: string, repo: string, comment_id: number }; declare type PullRequestsDeletePendingReviewParams = { owner: string, repo: string, number: number, review_id: number }; declare type PullRequestsDeleteReviewRequestParams = { owner: string, repo: string, number: number, reviewers?: string[], team_reviewers?: string[] }; declare type PullRequestsDismissReviewParams = { owner: string, repo: string, number: number, review_id: number, message: string }; declare type PullRequestsGetParams = { owner: string, repo: string, number: number }; declare type PullRequestsGetCommentParams = { owner: string, repo: string, comment_id: number }; declare type PullRequestsGetCommentsForReviewParams = { owner: string, repo: string, number: number, review_id: number, per_page?: number, page?: number }; declare type PullRequestsGetReviewParams = { owner: string, repo: string, number: number, review_id: number }; declare type PullRequestsListParams = { owner: string, repo: string, state?: "open" | "closed" | "all", head?: string, base?: string, sort?: "created" | "updated" | "popularity" | "long-running", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type PullRequestsListCommentsParams = { owner: string, repo: string, number: number, sort?: "created" | "updated", direction?: "asc" | "desc", since?: string, per_page?: number, page?: number }; declare type PullRequestsListCommentsForRepoParams = { owner: string, repo: string, sort?: "created" | "updated", direction?: "asc" | "desc", since?: string, per_page?: number, page?: number }; declare type PullRequestsListCommitsParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type PullRequestsListFilesParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type PullRequestsListReviewRequestsParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type PullRequestsListReviewsParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type PullRequestsMergeParams = { owner: string, repo: string, number: number, commit_title?: string, commit_message?: string, sha?: string, merge_method?: "merge" | "squash" | "rebase" }; declare type PullRequestsSubmitReviewParams = { owner: string, repo: string, number: number, review_id: number, body?: string, event: "APPROVE" | "REQUEST_CHANGES" | "COMMENT" }; declare type PullRequestsUpdateParams = { owner: string, repo: string, number: number, title?: string, body?: string, state?: "open" | "closed", base?: string, maintainer_can_modify?: boolean }; declare type PullRequestsUpdateCommentParams = { owner: string, repo: string, comment_id: number, body: string }; declare type ReactionsCreateForCommitCommentParams = { owner: string, repo: string, comment_id: number, content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" }; declare type ReactionsCreateForIssueParams = { owner: string, repo: string, number: number, content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" }; declare type ReactionsCreateForIssueCommentParams = { owner: string, repo: string, comment_id: number, content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" }; declare type ReactionsCreateForPullRequestReviewCommentParams = { owner: string, repo: string, comment_id: number, content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" }; declare type ReactionsCreateForTeamDiscussionParams = { team_id: number, discussion_number: number, content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" }; declare type ReactionsCreateForTeamDiscussionCommentParams = { team_id: number, discussion_number: number, comment_number: number, content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" }; declare type ReactionsDeleteParams = { reaction_id: number }; declare type ReactionsListForCommitCommentParams = { owner: string, repo: string, comment_id: number, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReactionsListForIssueParams = { owner: string, repo: string, number: number, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReactionsListForIssueCommentParams = { owner: string, repo: string, comment_id: number, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReactionsListForPullRequestReviewCommentParams = { owner: string, repo: string, comment_id: number, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReactionsListForTeamDiscussionParams = { team_id: number, discussion_number: number, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReactionsListForTeamDiscussionCommentParams = { team_id: number, discussion_number: number, comment_number: number, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReposAcceptInvitationParams = { invitation_id: number }; declare type ReposAddCollaboratorParams = { owner: string, repo: string, username: string, permission?: "pull" | "push" | "admin" }; declare type ReposAddDeployKeyParams = { owner: string, repo: string, title?: string, key: string, read_only?: boolean }; declare type ReposAddProtectedBranchAdminEnforcementParams = { owner: string, repo: string, branch: string }; declare type ReposAddProtectedBranchRequiredSignaturesParams = { owner: string, repo: string, branch: string }; declare type ReposAddProtectedBranchRequiredStatusChecksContextsParams = { owner: string, repo: string, branch: string, contexts: string[] }; declare type ReposAddProtectedBranchTeamRestrictionsParams = { owner: string, repo: string, branch: string, teams: string[] }; declare type ReposAddProtectedBranchUserRestrictionsParams = { owner: string, repo: string, branch: string, users: string[] }; declare type ReposCheckCollaboratorParams = { owner: string, repo: string, username: string }; declare type ReposCompareCommitsParams = { owner: string, repo: string, base: string, head: string }; declare type ReposCreateCommitCommentParams = { owner: string, repo: string, sha: string, body: string, path?: string, position?: number, line?: number }; declare type ReposCreateDeploymentParams = { owner: string, repo: string, ref: string, task?: string, auto_merge?: boolean, required_contexts?: string[], payload?: string, environment?: string, description?: string, transient_environment?: boolean, production_environment?: boolean }; declare type ReposCreateDeploymentStatusParams = { owner: string, repo: string, deployment_id: number, state: | "error" | "failure" | "inactive" | "in_progress" | "queued" | "pending" | "success", target_url?: string, log_url?: string, description?: string, environment?: "production" | "staging" | "qa", environment_url?: string, auto_inactive?: boolean }; declare type ReposCreateFileParams = { owner: string, repo: string, path: string, message: string, content: string, branch?: string, committer?: ReposCreateFileParamsCommitter, author?: ReposCreateFileParamsAuthor }; declare type ReposCreateForAuthenticatedUserParams = { name: string, description?: string, homepage?: string, private?: boolean, has_issues?: boolean, has_projects?: boolean, has_wiki?: boolean, team_id?: number, auto_init?: boolean, gitignore_template?: string, license_template?: string, allow_squash_merge?: boolean, allow_merge_commit?: boolean, allow_rebase_merge?: boolean }; declare type ReposCreateForkParams = { owner: string, repo: string, organization?: string }; declare type ReposCreateHookParams = { owner: string, repo: string, name: string, config: ReposCreateHookParamsConfig, events?: string[], active?: boolean }; declare type ReposCreateInOrgParams = { org: string, name: string, description?: string, homepage?: string, private?: boolean, has_issues?: boolean, has_projects?: boolean, has_wiki?: boolean, team_id?: number, auto_init?: boolean, gitignore_template?: string, license_template?: string, allow_squash_merge?: boolean, allow_merge_commit?: boolean, allow_rebase_merge?: boolean }; declare type ReposCreateReleaseParams = { owner: string, repo: string, tag_name: string, target_commitish?: string, name?: string, body?: string, draft?: boolean, prerelease?: boolean }; declare type ReposCreateStatusParams = { owner: string, repo: string, sha: string, state: "error" | "failure" | "pending" | "success", target_url?: string, description?: string, context?: string }; declare type ReposDeclineInvitationParams = { invitation_id: number }; declare type ReposDeleteParams = { owner: string, repo: string }; declare type ReposDeleteCommitCommentParams = { owner: string, repo: string, comment_id: number }; declare type ReposDeleteDownloadParams = { owner: string, repo: string, download_id: number }; declare type ReposDeleteFileParams = { owner: string, repo: string, path: string, message: string, sha: string, branch?: string, committer?: ReposDeleteFileParamsCommitter, author?: ReposDeleteFileParamsAuthor }; declare type ReposDeleteHookParams = { owner: string, repo: string, hook_id: number }; declare type ReposDeleteInvitationParams = { owner: string, repo: string, invitation_id: number }; declare type ReposDeleteReleaseParams = { owner: string, repo: string, release_id: number }; declare type ReposDeleteReleaseAssetParams = { owner: string, repo: string, asset_id: number }; declare type ReposGetParams = { owner: string, repo: string }; declare type ReposGetArchiveLinkParams = { owner: string, repo: string, archive_format: string, ref: string }; declare type ReposGetBranchParams = { owner: string, repo: string, branch: string }; declare type ReposGetBranchProtectionParams = { owner: string, repo: string, branch: string }; declare type ReposGetClonesParams = { owner: string, repo: string, per?: "day" | "week" }; declare type ReposGetCodeFrequencyStatsParams = { owner: string, repo: string }; declare type ReposGetCollaboratorPermissionLevelParams = { owner: string, repo: string, username: string }; declare type ReposGetCombinedStatusForRefParams = { owner: string, repo: string, ref: string }; declare type ReposGetCommitParams = { owner: string, repo: string, sha: string }; declare type ReposGetCommitActivityStatsParams = { owner: string, repo: string }; declare type ReposGetCommitCommentParams = { owner: string, repo: string, comment_id: number }; declare type ReposGetCommitRefShaParams = { owner: string, repo: string, ref: string }; declare type ReposGetContentsParams = { owner: string, repo: string, path: string, ref?: string }; declare type ReposGetContributorsStatsParams = { owner: string, repo: string }; declare type ReposGetDeployKeyParams = { owner: string, repo: string, key_id: number }; declare type ReposGetDeploymentParams = { owner: string, repo: string, deployment_id: number }; declare type ReposGetDeploymentStatusParams = { owner: string, repo: string, deployment_id: number, status_id: number }; declare type ReposGetDownloadParams = { owner: string, repo: string, download_id: number }; declare type ReposGetHookParams = { owner: string, repo: string, hook_id: number }; declare type ReposGetLatestPagesBuildParams = { owner: string, repo: string }; declare type ReposGetLatestReleaseParams = { owner: string, repo: string }; declare type ReposGetPagesParams = { owner: string, repo: string }; declare type ReposGetPagesBuildParams = { owner: string, repo: string, build_id: number }; declare type ReposGetParticipationStatsParams = { owner: string, repo: string }; declare type ReposGetProtectedBranchAdminEnforcementParams = { owner: string, repo: string, branch: string }; declare type ReposGetProtectedBranchPullRequestReviewEnforcementParams = { owner: string, repo: string, branch: string }; declare type ReposGetProtectedBranchRequiredSignaturesParams = { owner: string, repo: string, branch: string }; declare type ReposGetProtectedBranchRequiredStatusChecksParams = { owner: string, repo: string, branch: string }; declare type ReposGetProtectedBranchRestrictionsParams = { owner: string, repo: string, branch: string }; declare type ReposGetPunchCardStatsParams = { owner: string, repo: string }; declare type ReposGetReadmeParams = { owner: string, repo: string, ref?: string }; declare type ReposGetReleaseParams = { owner: string, repo: string, release_id: number }; declare type ReposGetReleaseAssetParams = { owner: string, repo: string, asset_id: number }; declare type ReposGetReleaseByTagParams = { owner: string, repo: string, tag: string }; declare type ReposGetTopPathsParams = { owner: string, repo: string }; declare type ReposGetTopReferrersParams = { owner: string, repo: string }; declare type ReposGetViewsParams = { owner: string, repo: string, per?: "day" | "week" }; declare type ReposListParams = { visibility?: "all" | "public" | "private", affiliation?: "owner" | "collaborator" | "organization_member", type?: "all" | "owner" | "public" | "private" | "member", sort?: "created" | "updated" | "pushed" | "full_name", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type ReposListAssetsForReleaseParams = { owner: string, repo: string, release_id: number, per_page?: number, page?: number }; declare type ReposListBranchesParams = { owner: string, repo: string, protected?: boolean, per_page?: number, page?: number }; declare type ReposListCollaboratorsParams = { owner: string, repo: string, affiliation?: "outside" | "direct" | "all", per_page?: number, page?: number }; declare type ReposListCommentsForCommitParams = { owner: string, repo: string, ref: string, per_page?: number, page?: number }; declare type ReposListCommitCommentsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposListCommitsParams = { owner: string, repo: string, sha?: string, path?: string, author?: string, since?: string, until?: string, per_page?: number, page?: number }; declare type ReposListContributorsParams = { owner: string, repo: string, anon?: string, per_page?: number, page?: number }; declare type ReposListDeployKeysParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposListDeploymentStatusesParams = { owner: string, repo: string, deployment_id: number, per_page?: number, page?: number }; declare type ReposListDeploymentsParams = { owner: string, repo: string, sha?: string, ref?: string, task?: string, environment?: string, per_page?: number, page?: number }; declare type ReposListDownloadsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposListForOrgParams = { org: string, type?: "all" | "public" | "private" | "forks" | "sources" | "member", per_page?: number, page?: number }; declare type ReposListForUserParams = { username: string, type?: "all" | "owner" | "member", sort?: "created" | "updated" | "pushed" | "full_name", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type ReposListForksParams = { owner: string, repo: string, sort?: "newest" | "oldest" | "stargazers", per_page?: number, page?: number }; declare type ReposListHooksParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposListInvitationsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposListInvitationsForAuthenticatedUserParams = { per_page?: number, page?: number }; declare type ReposListLanguagesParams = { owner: string, repo: string }; declare type ReposListPagesBuildsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposListProtectedBranchRequiredStatusChecksContextsParams = { owner: string, repo: string, branch: string }; declare type ReposListProtectedBranchTeamRestrictionsParams = { owner: string, repo: string, branch: string, per_page?: number, page?: number }; declare type ReposListProtectedBranchUserRestrictionsParams = { owner: string, repo: string, branch: string }; declare type ReposListPublicParams = { since?: string, per_page?: number, page?: number }; declare type ReposListReleasesParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposListStatusesForRefParams = { owner: string, repo: string, ref: string, per_page?: number, page?: number }; declare type ReposListTagsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposListTeamsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposListTopicsParams = { owner: string, repo: string }; declare type ReposMergeParams = { owner: string, repo: string, base: string, head: string, commit_message?: string }; declare type ReposPingHookParams = { owner: string, repo: string, hook_id: number }; declare type ReposRemoveBranchProtectionParams = { owner: string, repo: string, branch: string }; declare type ReposRemoveCollaboratorParams = { owner: string, repo: string, username: string }; declare type ReposRemoveDeployKeyParams = { owner: string, repo: string, key_id: number }; declare type ReposRemoveProtectedBranchAdminEnforcementParams = { owner: string, repo: string, branch: string }; declare type ReposRemoveProtectedBranchPullRequestReviewEnforcementParams = { owner: string, repo: string, branch: string }; declare type ReposRemoveProtectedBranchRequiredSignaturesParams = { owner: string, repo: string, branch: string }; declare type ReposRemoveProtectedBranchRequiredStatusChecksParams = { owner: string, repo: string, branch: string }; declare type ReposRemoveProtectedBranchRequiredStatusChecksContextsParams = { owner: string, repo: string, branch: string, contexts: string[] }; declare type ReposRemoveProtectedBranchRestrictionsParams = { owner: string, repo: string, branch: string }; declare type ReposRemoveProtectedBranchTeamRestrictionsParams = { owner: string, repo: string, branch: string, teams: string[] }; declare type ReposRemoveProtectedBranchUserRestrictionsParams = { owner: string, repo: string, branch: string, users: string[] }; declare type ReposReplaceProtectedBranchRequiredStatusChecksContextsParams = { owner: string, repo: string, branch: string, contexts: string[] }; declare type ReposReplaceProtectedBranchTeamRestrictionsParams = { owner: string, repo: string, branch: string, teams: string[] }; declare type ReposReplaceProtectedBranchUserRestrictionsParams = { owner: string, repo: string, branch: string, users: string[] }; declare type ReposReplaceTopicsParams = { owner: string, repo: string, names: string[] }; declare type ReposRequestPageBuildParams = { owner: string, repo: string }; declare type ReposRetrieveCommunityProfileMetricsParams = { owner: string, repo: string }; declare type ReposTestPushHookParams = { owner: string, repo: string, hook_id: number }; declare type ReposTransferParams = { owner: string, repo: string, new_owner?: string, team_ids?: number[] }; declare type ReposUpdateParams = { owner: string, repo: string, name: string, description?: string, homepage?: string, private?: boolean, has_issues?: boolean, has_projects?: boolean, has_wiki?: boolean, default_branch?: string, allow_squash_merge?: boolean, allow_merge_commit?: boolean, allow_rebase_merge?: boolean, archived?: boolean }; declare type ReposUpdateBranchProtectionParams = { owner: string, repo: string, branch: string, required_status_checks: ReposUpdateBranchProtectionParamsRequiredStatusChecks, enforce_admins: boolean, required_pull_request_reviews: ReposUpdateBranchProtectionParamsRequiredPullRequestReviews, restrictions: ReposUpdateBranchProtectionParamsRestrictions }; declare type ReposUpdateCommitCommentParams = { owner: string, repo: string, comment_id: number, body: string }; declare type ReposUpdateFileParams = { owner: string, repo: string, path: string, message: string, content: string, sha: string, branch?: string, committer?: ReposUpdateFileParamsCommitter, author?: ReposUpdateFileParamsAuthor }; declare type ReposUpdateHookParams = { owner: string, repo: string, hook_id: number, config?: ReposUpdateHookParamsConfig, events?: string[], add_events?: string[], remove_events?: string[], active?: boolean }; declare type ReposUpdateInformationAboutPagesSiteParams = { owner: string, repo: string, cname?: string, source?: '"gh-pages"' | '"master"' | '"master /docs"' }; declare type ReposUpdateInvitationParams = { owner: string, repo: string, invitation_id: number, permissions?: "read" | "write" | "admin" }; declare type ReposUpdateProtectedBranchPullRequestReviewEnforcementParams = { owner: string, repo: string, branch: string, dismissal_restrictions?: ReposUpdateProtectedBranchPullRequestReviewEnforcementParamsDismissalRestrictions, dismiss_stale_reviews?: boolean, require_code_owner_reviews?: boolean, required_approving_review_count?: number }; declare type ReposUpdateProtectedBranchRequiredStatusChecksParams = { owner: string, repo: string, branch: string, strict?: boolean, contexts?: string[] }; declare type ReposUpdateReleaseParams = { owner: string, repo: string, release_id: number, tag_name?: string, target_commitish?: string, name?: string, body?: string, draft?: boolean, prerelease?: boolean }; declare type ReposUpdateReleaseAssetParams = { owner: string, repo: string, asset_id: number, name?: string, label?: string }; declare type ReposUploadReleaseAssetParams = { url: string, "Content-Length": number, "Content-Type": string, name: string, label?: string, file: string | object }; declare type SearchCodeParams = { q: string, sort?: "indexed", order?: "asc" | "desc", per_page?: number, page?: number }; declare type SearchCommitsParams = { q: string, sort?: "author-date" | "committer-date", order?: "asc" | "desc", per_page?: number, page?: number }; declare type SearchIssuesParams = { q: string, sort?: "comments" | "created" | "updated", order?: "asc" | "desc", per_page?: number, page?: number }; declare type SearchLabelsParams = { repository_id: number, q: string, sort?: "created" | "updated", order?: "asc" | "desc" }; declare type SearchReposParams = { q: string, sort?: "stars" | "forks" | "updated", order?: "asc" | "desc", per_page?: number, page?: number }; declare type SearchTopicsParams = { q: string }; declare type SearchUsersParams = { q: string, sort?: "followers" | "repositories" | "joined", order?: "asc" | "desc", per_page?: number, page?: number }; declare type TeamsAddMemberParams = { team_id: number, username: string }; declare type TeamsAddOrUpdateMembershipParams = { team_id: number, username: string, role?: "member" | "maintainer" }; declare type TeamsAddOrUpdateProjectParams = { team_id: number, project_id: number, permission?: "read" | "write" | "admin" }; declare type TeamsAddOrUpdateRepoParams = { team_id: number, owner: string, repo: string, permission?: "pull" | "push" | "admin" }; declare type TeamsCheckManagesRepoParams = { team_id: number, owner: string, repo: string }; declare type TeamsCreateParams = { org: string, name: string, description?: string, maintainers?: string[], repo_names?: string[], privacy?: "secret" | "closed", permission?: "pull" | "push" | "admin", parent_team_id?: number }; declare type TeamsCreateDiscussionParams = { team_id: number, title: string, body: string, private?: boolean }; declare type TeamsCreateDiscussionCommentParams = { team_id: number, discussion_number: number, body: string }; declare type TeamsDeleteParams = { team_id: number }; declare type TeamsDeleteDiscussionParams = { team_id: number, discussion_number: number }; declare type TeamsDeleteDiscussionCommentParams = { team_id: number, discussion_number: number, comment_number: number }; declare type TeamsGetParams = { team_id: number }; declare type TeamsGetDiscussionParams = { team_id: number, discussion_number: number }; declare type TeamsGetDiscussionCommentParams = { team_id: number, discussion_number: number, comment_number: number }; declare type TeamsGetMemberParams = { team_id: number, username: string }; declare type TeamsGetMembershipParams = { team_id: number, username: string }; declare type TeamsListParams = { org: string, per_page?: number, page?: number }; declare type TeamsListChildParams = { team_id: number, per_page?: number, page?: number }; declare type TeamsListDiscussionCommentsParams = { team_id: number, discussion_number: number, direction?: "asc" | "desc", per_page?: number, page?: number }; declare type TeamsListDiscussionsParams = { team_id: number, direction?: "asc" | "desc", per_page?: number, page?: number }; declare type TeamsListForAuthenticatedUserParams = { per_page?: number, page?: number }; declare type TeamsListMembersParams = { team_id: number, role?: "member" | "maintainer" | "all", per_page?: number, page?: number }; declare type TeamsListPendingInvitationsParams = { team_id: number, per_page?: number, page?: number }; declare type TeamsListProjectsParams = { team_id: number, per_page?: number, page?: number }; declare type TeamsListReposParams = { team_id: number, per_page?: number, page?: number }; declare type TeamsRemoveMemberParams = { team_id: number, username: string }; declare type TeamsRemoveMembershipParams = { team_id: number, username: string }; declare type TeamsRemoveProjectParams = { team_id: number, project_id: number }; declare type TeamsRemoveRepoParams = { team_id: number, owner: string, repo: string }; declare type TeamsReviewProjectParams = { team_id: number, project_id: number }; declare type TeamsUpdateParams = { team_id: number, name: string, description?: string, privacy?: string, permission?: "pull" | "push" | "admin", parent_team_id?: number }; declare type TeamsUpdateDiscussionParams = { team_id: number, discussion_number: number, title?: string, body?: string }; declare type TeamsUpdateDiscussionCommentParams = { team_id: number, discussion_number: number, comment_number: number, body: string }; declare type UsersAddEmailsParams = { emails: string[] }; declare type UsersBlockParams = { username: string }; declare type UsersCheckBlockedParams = { username: string }; declare type UsersCheckFollowingParams = { username: string }; declare type UsersCheckFollowingForUserParams = { username: string, target_user: string }; declare type UsersCreateGpgKeyParams = { armored_public_key?: string }; declare type UsersCreatePublicKeyParams = { title?: string, key?: string }; declare type UsersDeleteEmailsParams = { emails: string[] }; declare type UsersDeleteGpgKeyParams = { gpg_key_id: number }; declare type UsersDeletePublicKeyParams = { key_id: number }; declare type UsersFollowParams = { username: string }; declare type UsersGetByUsernameParams = { username: string }; declare type UsersGetContextForUserParams = { username: string, subject_type?: "organization" | "repository" | "issue" | "pull_request", subject_id?: string }; declare type UsersGetGpgKeyParams = { gpg_key_id: number }; declare type UsersGetPublicKeyParams = { key_id: number }; declare type UsersListParams = { since?: string, per_page?: number, page?: number }; declare type UsersListEmailsParams = { per_page?: number, page?: number }; declare type UsersListFollowersForAuthenticatedUserParams = { per_page?: number, page?: number }; declare type UsersListFollowersForUserParams = { username: string, per_page?: number, page?: number }; declare type UsersListFollowingForAuthenticatedUserParams = { per_page?: number, page?: number }; declare type UsersListFollowingForUserParams = { username: string, per_page?: number, page?: number }; declare type UsersListGpgKeysParams = { per_page?: number, page?: number }; declare type UsersListGpgKeysForUserParams = { username: string, per_page?: number, page?: number }; declare type UsersListPublicEmailsParams = { per_page?: number, page?: number }; declare type UsersListPublicKeysParams = { per_page?: number, page?: number }; declare type UsersListPublicKeysForUserParams = { username: string, per_page?: number, page?: number }; declare type UsersTogglePrimaryEmailVisibilityParams = { email: string, visibility: string }; declare type UsersUnblockParams = { username: string }; declare type UsersUnfollowParams = { username: string }; declare type UsersUpdateAuthenticatedParams = { name?: string, email?: string, blog?: string, company?: string, location?: string, hireable?: boolean, bio?: string }; declare class Github { constructor(options?: Options): Github; authenticate(auth: Auth): void; hasNextPage(link: Link): ?string; hasPreviousPage(link: Link): ?string; hasLastPage(link: Link): ?string; hasFirstPage(link: Link): ?string; getNextPage( link: Link, headers?: { [header: Header]: any }, callback?: Callback ): Promise; getPreviousPage( link: Link, headers?: { [header: Header]: any }, callback?: Callback ): Promise; getLastPage( link: Link, headers?: { [header: Header]: any }, callback?: Callback ): Promise; getFirstPage( link: Link, headers?: { [header: Header]: any }, callback?: Callback ): Promise; activity: { checkStarringRepo( params: ActivityCheckStarringRepoParams, callback?: Callback ): Promise, deleteRepoSubscription( params: ActivityDeleteRepoSubscriptionParams, callback?: Callback ): Promise, deleteThreadSubscription( params: ActivityDeleteThreadSubscriptionParams, callback?: Callback ): Promise, getRepoSubscription( params: ActivityGetRepoSubscriptionParams, callback?: Callback ): Promise, getThread( params: ActivityGetThreadParams, callback?: Callback ): Promise, getThreadSubscription( params: ActivityGetThreadSubscriptionParams, callback?: Callback ): Promise, listEventsForOrg( params: ActivityListEventsForOrgParams, callback?: Callback ): Promise, listEventsForUser( params: ActivityListEventsForUserParams, callback?: Callback ): Promise, listFeeds(params: EmptyParams, callback?: Callback): Promise, listNotifications( params: ActivityListNotificationsParams, callback?: Callback ): Promise, listNotificationsForRepo( params: ActivityListNotificationsForRepoParams, callback?: Callback ): Promise, listPublicEvents( params: ActivityListPublicEventsParams, callback?: Callback ): Promise, listPublicEventsForOrg( params: ActivityListPublicEventsForOrgParams, callback?: Callback ): Promise, listPublicEventsForRepoNetwork( params: ActivityListPublicEventsForRepoNetworkParams, callback?: Callback ): Promise, listPublicEventsForUser( params: ActivityListPublicEventsForUserParams, callback?: Callback ): Promise, listReceivedEventsForUser( params: ActivityListReceivedEventsForUserParams, callback?: Callback ): Promise, listReceivedPublicEventsForUser( params: ActivityListReceivedPublicEventsForUserParams, callback?: Callback ): Promise, listRepoEvents( params: ActivityListRepoEventsParams, callback?: Callback ): Promise, listReposStarredByAuthenticatedUser( params: ActivityListReposStarredByAuthenticatedUserParams, callback?: Callback ): Promise, listReposStarredByUser( params: ActivityListReposStarredByUserParams, callback?: Callback ): Promise, listReposWatchedByUser( params: ActivityListReposWatchedByUserParams, callback?: Callback ): Promise, listStargazersForRepo( params: ActivityListStargazersForRepoParams, callback?: Callback ): Promise, listWatchedReposForAuthenticatedUser( params: ActivityListWatchedReposForAuthenticatedUserParams, callback?: Callback ): Promise, listWatchersForRepo( params: ActivityListWatchersForRepoParams, callback?: Callback ): Promise, markAsRead( params: ActivityMarkAsReadParams, callback?: Callback ): Promise, markNotificationsAsReadForRepo( params: ActivityMarkNotificationsAsReadForRepoParams, callback?: Callback ): Promise, markThreadAsRead( params: ActivityMarkThreadAsReadParams, callback?: Callback ): Promise, setRepoSubscription( params: ActivitySetRepoSubscriptionParams, callback?: Callback ): Promise, setThreadSubscription( params: ActivitySetThreadSubscriptionParams, callback?: Callback ): Promise, starRepo( params: ActivityStarRepoParams, callback?: Callback ): Promise, unstarRepo( params: ActivityUnstarRepoParams, callback?: Callback ): Promise }; apps: { addRepoToInstallation( params: AppsAddRepoToInstallationParams, callback?: Callback ): Promise, checkAccountIsAssociatedWithAny( params: AppsCheckAccountIsAssociatedWithAnyParams, callback?: Callback ): Promise, checkAccountIsAssociatedWithAnyStubbed( params: AppsCheckAccountIsAssociatedWithAnyStubbedParams, callback?: Callback ): Promise, createFromManifest( params: AppsCreateFromManifestParams, callback?: Callback ): Promise, createInstallationToken( params: AppsCreateInstallationTokenParams, callback?: Callback ): Promise, findOrgInstallation( params: AppsFindOrgInstallationParams, callback?: Callback ): Promise, findRepoInstallation( params: AppsFindRepoInstallationParams, callback?: Callback ): Promise, findUserInstallation( params: AppsFindUserInstallationParams, callback?: Callback ): Promise, getAuthenticated(params: EmptyParams, callback?: Callback): Promise, getBySlug(params: AppsGetBySlugParams, callback?: Callback): Promise, getInstallation( params: AppsGetInstallationParams, callback?: Callback ): Promise, listAccountsUserOrOrgOnPlan( params: AppsListAccountsUserOrOrgOnPlanParams, callback?: Callback ): Promise, listAccountsUserOrOrgOnPlanStubbed( params: AppsListAccountsUserOrOrgOnPlanStubbedParams, callback?: Callback ): Promise, listInstallationReposForAuthenticatedUser( params: AppsListInstallationReposForAuthenticatedUserParams, callback?: Callback ): Promise, listInstallations( params: AppsListInstallationsParams, callback?: Callback ): Promise, listInstallationsForAuthenticatedUser( params: AppsListInstallationsForAuthenticatedUserParams, callback?: Callback ): Promise, listMarketplacePurchasesForAuthenticatedUser( params: AppsListMarketplacePurchasesForAuthenticatedUserParams, callback?: Callback ): Promise, listMarketplacePurchasesForAuthenticatedUserStubbed( params: AppsListMarketplacePurchasesForAuthenticatedUserStubbedParams, callback?: Callback ): Promise, listPlans(params: AppsListPlansParams, callback?: Callback): Promise, listPlansStubbed( params: AppsListPlansStubbedParams, callback?: Callback ): Promise, listRepos(params: AppsListReposParams, callback?: Callback): Promise, removeRepoFromInstallation( params: AppsRemoveRepoFromInstallationParams, callback?: Callback ): Promise }; authorization: { checkAuthorization( params: AuthorizationCheckAuthorizationParams, callback?: Callback ): Promise, createAuthorization( params: AuthorizationCreateAuthorizationParams, callback?: Callback ): Promise, deleteAuthorization( params: AuthorizationDeleteAuthorizationParams, callback?: Callback ): Promise, deleteGrant( params: AuthorizationDeleteGrantParams, callback?: Callback ): Promise, getAuthorization( params: AuthorizationGetAuthorizationParams, callback?: Callback ): Promise, getGrant( params: AuthorizationGetGrantParams, callback?: Callback ): Promise, getOrCreateAuthorizationForApp( params: AuthorizationGetOrCreateAuthorizationForAppParams, callback?: Callback ): Promise, getOrCreateAuthorizationForAppFingerprint( params: AuthorizationGetOrCreateAuthorizationForAppFingerprintParams, callback?: Callback ): Promise, listAuthorizations( params: AuthorizationListAuthorizationsParams, callback?: Callback ): Promise, listGrants( params: AuthorizationListGrantsParams, callback?: Callback ): Promise, resetAuthorization( params: AuthorizationResetAuthorizationParams, callback?: Callback ): Promise, revokeAuthorizationForApplication( params: AuthorizationRevokeAuthorizationForApplicationParams, callback?: Callback ): Promise, revokeGrantForApplication( params: AuthorizationRevokeGrantForApplicationParams, callback?: Callback ): Promise, updateAuthorization( params: AuthorizationUpdateAuthorizationParams, callback?: Callback ): Promise }; checks: { create(params: ChecksCreateParams, callback?: Callback): Promise, createSuite( params: ChecksCreateSuiteParams, callback?: Callback ): Promise, get(params: ChecksGetParams, callback?: Callback): Promise, getSuite(params: ChecksGetSuiteParams, callback?: Callback): Promise, listAnnotations( params: ChecksListAnnotationsParams, callback?: Callback ): Promise, listForRef( params: ChecksListForRefParams, callback?: Callback ): Promise, listForSuite( params: ChecksListForSuiteParams, callback?: Callback ): Promise, listSuitesForRef( params: ChecksListSuitesForRefParams, callback?: Callback ): Promise, rerequestSuite( params: ChecksRerequestSuiteParams, callback?: Callback ): Promise, setSuitesPreferences( params: ChecksSetSuitesPreferencesParams, callback?: Callback ): Promise, update(params: ChecksUpdateParams, callback?: Callback): Promise }; codesOfConduct: { getConductCode( params: CodesOfConductGetConductCodeParams, callback?: Callback ): Promise, getForRepo( params: CodesOfConductGetForRepoParams, callback?: Callback ): Promise, listConductCodes(params: EmptyParams, callback?: Callback): Promise }; emojis: { get(params: EmptyParams, callback?: Callback): Promise }; gists: { checkIsStarred( params: GistsCheckIsStarredParams, callback?: Callback ): Promise, create(params: GistsCreateParams, callback?: Callback): Promise, createComment( params: GistsCreateCommentParams, callback?: Callback ): Promise, delete(params: GistsDeleteParams, callback?: Callback): Promise, deleteComment( params: GistsDeleteCommentParams, callback?: Callback ): Promise, fork(params: GistsForkParams, callback?: Callback): Promise, get(params: GistsGetParams, callback?: Callback): Promise, getComment( params: GistsGetCommentParams, callback?: Callback ): Promise, getRevision( params: GistsGetRevisionParams, callback?: Callback ): Promise, list(params: GistsListParams, callback?: Callback): Promise, listComments( params: GistsListCommentsParams, callback?: Callback ): Promise, listCommits( params: GistsListCommitsParams, callback?: Callback ): Promise, listForks( params: GistsListForksParams, callback?: Callback ): Promise, listPublic( params: GistsListPublicParams, callback?: Callback ): Promise, listPublicForUser( params: GistsListPublicForUserParams, callback?: Callback ): Promise, listStarred( params: GistsListStarredParams, callback?: Callback ): Promise, star(params: GistsStarParams, callback?: Callback): Promise, unstar(params: GistsUnstarParams, callback?: Callback): Promise, update(params: GistsUpdateParams, callback?: Callback): Promise, updateComment( params: GistsUpdateCommentParams, callback?: Callback ): Promise }; gitdata: { createBlob( params: GitdataCreateBlobParams, callback?: Callback ): Promise, createCommit( params: GitdataCreateCommitParams, callback?: Callback ): Promise, createRef( params: GitdataCreateRefParams, callback?: Callback ): Promise, createTag( params: GitdataCreateTagParams, callback?: Callback ): Promise, createTree( params: GitdataCreateTreeParams, callback?: Callback ): Promise, deleteRef( params: GitdataDeleteRefParams, callback?: Callback ): Promise, getBlob(params: GitdataGetBlobParams, callback?: Callback): Promise, getCommit( params: GitdataGetCommitParams, callback?: Callback ): Promise, getRef(params: GitdataGetRefParams, callback?: Callback): Promise, getTag(params: GitdataGetTagParams, callback?: Callback): Promise, getTree(params: GitdataGetTreeParams, callback?: Callback): Promise, listRefs( params: GitdataListRefsParams, callback?: Callback ): Promise, updateRef( params: GitdataUpdateRefParams, callback?: Callback ): Promise }; gitignore: { getTemplate( params: GitignoreGetTemplateParams, callback?: Callback ): Promise, listTemplates(params: EmptyParams, callback?: Callback): Promise }; issues: { addAssignees( params: IssuesAddAssigneesParams, callback?: Callback ): Promise, addLabels( params: IssuesAddLabelsParams, callback?: Callback ): Promise, checkAssignee( params: IssuesCheckAssigneeParams, callback?: Callback ): Promise, create(params: IssuesCreateParams, callback?: Callback): Promise, createComment( params: IssuesCreateCommentParams, callback?: Callback ): Promise, createLabel( params: IssuesCreateLabelParams, callback?: Callback ): Promise, createMilestone( params: IssuesCreateMilestoneParams, callback?: Callback ): Promise, deleteComment( params: IssuesDeleteCommentParams, callback?: Callback ): Promise, deleteLabel( params: IssuesDeleteLabelParams, callback?: Callback ): Promise, deleteMilestone( params: IssuesDeleteMilestoneParams, callback?: Callback ): Promise, get(params: IssuesGetParams, callback?: Callback): Promise, getComment( params: IssuesGetCommentParams, callback?: Callback ): Promise, getEvent(params: IssuesGetEventParams, callback?: Callback): Promise, getLabel(params: IssuesGetLabelParams, callback?: Callback): Promise, getMilestone( params: IssuesGetMilestoneParams, callback?: Callback ): Promise, list(params: IssuesListParams, callback?: Callback): Promise, listAssignees( params: IssuesListAssigneesParams, callback?: Callback ): Promise, listComments( params: IssuesListCommentsParams, callback?: Callback ): Promise, listCommentsForRepo( params: IssuesListCommentsForRepoParams, callback?: Callback ): Promise, listEvents( params: IssuesListEventsParams, callback?: Callback ): Promise, listEventsForRepo( params: IssuesListEventsForRepoParams, callback?: Callback ): Promise, listEventsForTimeline( params: IssuesListEventsForTimelineParams, callback?: Callback ): Promise, listForAuthenticatedUser( params: IssuesListForAuthenticatedUserParams, callback?: Callback ): Promise, listForOrg( params: IssuesListForOrgParams, callback?: Callback ): Promise, listForRepo( params: IssuesListForRepoParams, callback?: Callback ): Promise, listLabelsForMilestone( params: IssuesListLabelsForMilestoneParams, callback?: Callback ): Promise, listLabelsForRepo( params: IssuesListLabelsForRepoParams, callback?: Callback ): Promise, listLabelsOnIssue( params: IssuesListLabelsOnIssueParams, callback?: Callback ): Promise, listMilestonesForRepo( params: IssuesListMilestonesForRepoParams, callback?: Callback ): Promise, lock(params: IssuesLockParams, callback?: Callback): Promise, removeAssignees( params: IssuesRemoveAssigneesParams, callback?: Callback ): Promise, removeLabel( params: IssuesRemoveLabelParams, callback?: Callback ): Promise, removeLabels( params: IssuesRemoveLabelsParams, callback?: Callback ): Promise, replaceLabels( params: IssuesReplaceLabelsParams, callback?: Callback ): Promise, unlock(params: IssuesUnlockParams, callback?: Callback): Promise, update(params: IssuesUpdateParams, callback?: Callback): Promise, updateComment( params: IssuesUpdateCommentParams, callback?: Callback ): Promise, updateLabel( params: IssuesUpdateLabelParams, callback?: Callback ): Promise, updateMilestone( params: IssuesUpdateMilestoneParams, callback?: Callback ): Promise }; licenses: { get(params: LicensesGetParams, callback?: Callback): Promise, getForRepo( params: LicensesGetForRepoParams, callback?: Callback ): Promise, list(params: EmptyParams, callback?: Callback): Promise }; markdown: { render(params: MarkdownRenderParams, callback?: Callback): Promise, renderRaw( params: MarkdownRenderRawParams, callback?: Callback ): Promise }; meta: { get(params: EmptyParams, callback?: Callback): Promise }; migrations: { cancelImport( params: MigrationsCancelImportParams, callback?: Callback ): Promise, deleteArchiveForAuthenticatedUser( params: MigrationsDeleteArchiveForAuthenticatedUserParams, callback?: Callback ): Promise, deleteArchiveForOrg( params: MigrationsDeleteArchiveForOrgParams, callback?: Callback ): Promise, getArchiveForAuthenticatedUser( params: MigrationsGetArchiveForAuthenticatedUserParams, callback?: Callback ): Promise, getArchiveForOrg( params: MigrationsGetArchiveForOrgParams, callback?: Callback ): Promise, getCommitAuthors( params: MigrationsGetCommitAuthorsParams, callback?: Callback ): Promise, getImportProgress( params: MigrationsGetImportProgressParams, callback?: Callback ): Promise, getLargeFiles( params: MigrationsGetLargeFilesParams, callback?: Callback ): Promise, getStatusForAuthenticatedUser( params: MigrationsGetStatusForAuthenticatedUserParams, callback?: Callback ): Promise, getStatusForOrg( params: MigrationsGetStatusForOrgParams, callback?: Callback ): Promise, listForAuthenticatedUser( params: MigrationsListForAuthenticatedUserParams, callback?: Callback ): Promise, listForOrg( params: MigrationsListForOrgParams, callback?: Callback ): Promise, mapCommitAuthor( params: MigrationsMapCommitAuthorParams, callback?: Callback ): Promise, setLfsPreference( params: MigrationsSetLfsPreferenceParams, callback?: Callback ): Promise, startForAuthenticatedUser( params: MigrationsStartForAuthenticatedUserParams, callback?: Callback ): Promise, startForOrg( params: MigrationsStartForOrgParams, callback?: Callback ): Promise, startImport( params: MigrationsStartImportParams, callback?: Callback ): Promise, unlockRepoForAuthenticatedUser( params: MigrationsUnlockRepoForAuthenticatedUserParams, callback?: Callback ): Promise, unlockRepoForOrg( params: MigrationsUnlockRepoForOrgParams, callback?: Callback ): Promise, updateImport( params: MigrationsUpdateImportParams, callback?: Callback ): Promise }; misc: {}; orgs: { addOrUpdateMembership( params: OrgsAddOrUpdateMembershipParams, callback?: Callback ): Promise, blockUser(params: OrgsBlockUserParams, callback?: Callback): Promise, checkBlockedUser( params: OrgsCheckBlockedUserParams, callback?: Callback ): Promise, checkMembership( params: OrgsCheckMembershipParams, callback?: Callback ): Promise, checkPublicMembership( params: OrgsCheckPublicMembershipParams, callback?: Callback ): Promise, concealMembership( params: OrgsConcealMembershipParams, callback?: Callback ): Promise, convertMemberToOutsideCollaborator( params: OrgsConvertMemberToOutsideCollaboratorParams, callback?: Callback ): Promise, createHook( params: OrgsCreateHookParams, callback?: Callback ): Promise, createInvitation( params: OrgsCreateInvitationParams, callback?: Callback ): Promise, deleteHook( params: OrgsDeleteHookParams, callback?: Callback ): Promise, get(params: OrgsGetParams, callback?: Callback): Promise, getHook(params: OrgsGetHookParams, callback?: Callback): Promise, getMembership( params: OrgsGetMembershipParams, callback?: Callback ): Promise, getMembershipForAuthenticatedUser( params: OrgsGetMembershipForAuthenticatedUserParams, callback?: Callback ): Promise, list(params: OrgsListParams, callback?: Callback): Promise, listBlockedUsers( params: OrgsListBlockedUsersParams, callback?: Callback ): Promise, listForAuthenticatedUser( params: OrgsListForAuthenticatedUserParams, callback?: Callback ): Promise, listForUser( params: OrgsListForUserParams, callback?: Callback ): Promise, listHooks(params: OrgsListHooksParams, callback?: Callback): Promise, listInvitationTeams( params: OrgsListInvitationTeamsParams, callback?: Callback ): Promise, listMembers( params: OrgsListMembersParams, callback?: Callback ): Promise, listMemberships( params: OrgsListMembershipsParams, callback?: Callback ): Promise, listOutsideCollaborators( params: OrgsListOutsideCollaboratorsParams, callback?: Callback ): Promise, listPendingInvitations( params: OrgsListPendingInvitationsParams, callback?: Callback ): Promise, listPublicMembers( params: OrgsListPublicMembersParams, callback?: Callback ): Promise, pingHook(params: OrgsPingHookParams, callback?: Callback): Promise, publicizeMembership( params: OrgsPublicizeMembershipParams, callback?: Callback ): Promise, removeMember( params: OrgsRemoveMemberParams, callback?: Callback ): Promise, removeMembership( params: OrgsRemoveMembershipParams, callback?: Callback ): Promise, removeOutsideCollaborator( params: OrgsRemoveOutsideCollaboratorParams, callback?: Callback ): Promise, unblockUser( params: OrgsUnblockUserParams, callback?: Callback ): Promise, update(params: OrgsUpdateParams, callback?: Callback): Promise, updateHook( params: OrgsUpdateHookParams, callback?: Callback ): Promise, updateMembership( params: OrgsUpdateMembershipParams, callback?: Callback ): Promise }; projects: { addCollaborator( params: ProjectsAddCollaboratorParams, callback?: Callback ): Promise, createCard( params: ProjectsCreateCardParams, callback?: Callback ): Promise, createColumn( params: ProjectsCreateColumnParams, callback?: Callback ): Promise, createForOrg( params: ProjectsCreateForOrgParams, callback?: Callback ): Promise, createForRepo( params: ProjectsCreateForRepoParams, callback?: Callback ): Promise, delete(params: ProjectsDeleteParams, callback?: Callback): Promise, deleteCard( params: ProjectsDeleteCardParams, callback?: Callback ): Promise, deleteColumn( params: ProjectsDeleteColumnParams, callback?: Callback ): Promise, get(params: ProjectsGetParams, callback?: Callback): Promise, getCard(params: ProjectsGetCardParams, callback?: Callback): Promise, getColumn( params: ProjectsGetColumnParams, callback?: Callback ): Promise, listCards( params: ProjectsListCardsParams, callback?: Callback ): Promise, listCollaborators( params: ProjectsListCollaboratorsParams, callback?: Callback ): Promise, listColumns( params: ProjectsListColumnsParams, callback?: Callback ): Promise, listForOrg( params: ProjectsListForOrgParams, callback?: Callback ): Promise, listForRepo( params: ProjectsListForRepoParams, callback?: Callback ): Promise, moveCard( params: ProjectsMoveCardParams, callback?: Callback ): Promise, moveColumn( params: ProjectsMoveColumnParams, callback?: Callback ): Promise, removeCollaborator( params: ProjectsRemoveCollaboratorParams, callback?: Callback ): Promise, reviewUserPermissionLevel( params: ProjectsReviewUserPermissionLevelParams, callback?: Callback ): Promise, update(params: ProjectsUpdateParams, callback?: Callback): Promise, updateCard( params: ProjectsUpdateCardParams, callback?: Callback ): Promise, updateColumn( params: ProjectsUpdateColumnParams, callback?: Callback ): Promise }; pullRequests: { checkIfMerged( params: PullRequestsCheckIfMergedParams, callback?: Callback ): Promise, create( params: PullRequestsCreateParams, callback?: Callback ): Promise, createComment( params: PullRequestsCreateCommentParams, callback?: Callback ): Promise, createCommentReply( params: PullRequestsCreateCommentReplyParams, callback?: Callback ): Promise, createFromIssue( params: PullRequestsCreateFromIssueParams, callback?: Callback ): Promise, createReview( params: PullRequestsCreateReviewParams, callback?: Callback ): Promise, createReviewRequest( params: PullRequestsCreateReviewRequestParams, callback?: Callback ): Promise, deleteComment( params: PullRequestsDeleteCommentParams, callback?: Callback ): Promise, deletePendingReview( params: PullRequestsDeletePendingReviewParams, callback?: Callback ): Promise, deleteReviewRequest( params: PullRequestsDeleteReviewRequestParams, callback?: Callback ): Promise, dismissReview( params: PullRequestsDismissReviewParams, callback?: Callback ): Promise, get(params: PullRequestsGetParams, callback?: Callback): Promise, getComment( params: PullRequestsGetCommentParams, callback?: Callback ): Promise, getCommentsForReview( params: PullRequestsGetCommentsForReviewParams, callback?: Callback ): Promise, getReview( params: PullRequestsGetReviewParams, callback?: Callback ): Promise, list(params: PullRequestsListParams, callback?: Callback): Promise, listComments( params: PullRequestsListCommentsParams, callback?: Callback ): Promise, listCommentsForRepo( params: PullRequestsListCommentsForRepoParams, callback?: Callback ): Promise, listCommits( params: PullRequestsListCommitsParams, callback?: Callback ): Promise, listFiles( params: PullRequestsListFilesParams, callback?: Callback ): Promise, listReviewRequests( params: PullRequestsListReviewRequestsParams, callback?: Callback ): Promise, listReviews( params: PullRequestsListReviewsParams, callback?: Callback ): Promise, merge(params: PullRequestsMergeParams, callback?: Callback): Promise, submitReview( params: PullRequestsSubmitReviewParams, callback?: Callback ): Promise, update( params: PullRequestsUpdateParams, callback?: Callback ): Promise, updateComment( params: PullRequestsUpdateCommentParams, callback?: Callback ): Promise }; rateLimit: { get(params: EmptyParams, callback?: Callback): Promise }; reactions: { createForCommitComment( params: ReactionsCreateForCommitCommentParams, callback?: Callback ): Promise, createForIssue( params: ReactionsCreateForIssueParams, callback?: Callback ): Promise, createForIssueComment( params: ReactionsCreateForIssueCommentParams, callback?: Callback ): Promise, createForPullRequestReviewComment( params: ReactionsCreateForPullRequestReviewCommentParams, callback?: Callback ): Promise, createForTeamDiscussion( params: ReactionsCreateForTeamDiscussionParams, callback?: Callback ): Promise, createForTeamDiscussionComment( params: ReactionsCreateForTeamDiscussionCommentParams, callback?: Callback ): Promise, delete(params: ReactionsDeleteParams, callback?: Callback): Promise, listForCommitComment( params: ReactionsListForCommitCommentParams, callback?: Callback ): Promise, listForIssue( params: ReactionsListForIssueParams, callback?: Callback ): Promise, listForIssueComment( params: ReactionsListForIssueCommentParams, callback?: Callback ): Promise, listForPullRequestReviewComment( params: ReactionsListForPullRequestReviewCommentParams, callback?: Callback ): Promise, listForTeamDiscussion( params: ReactionsListForTeamDiscussionParams, callback?: Callback ): Promise, listForTeamDiscussionComment( params: ReactionsListForTeamDiscussionCommentParams, callback?: Callback ): Promise }; repos: { acceptInvitation( params: ReposAcceptInvitationParams, callback?: Callback ): Promise, addCollaborator( params: ReposAddCollaboratorParams, callback?: Callback ): Promise, addDeployKey( params: ReposAddDeployKeyParams, callback?: Callback ): Promise, addProtectedBranchAdminEnforcement( params: ReposAddProtectedBranchAdminEnforcementParams, callback?: Callback ): Promise, addProtectedBranchRequiredSignatures( params: ReposAddProtectedBranchRequiredSignaturesParams, callback?: Callback ): Promise, addProtectedBranchRequiredStatusChecksContexts( params: ReposAddProtectedBranchRequiredStatusChecksContextsParams, callback?: Callback ): Promise, addProtectedBranchTeamRestrictions( params: ReposAddProtectedBranchTeamRestrictionsParams, callback?: Callback ): Promise, addProtectedBranchUserRestrictions( params: ReposAddProtectedBranchUserRestrictionsParams, callback?: Callback ): Promise, checkCollaborator( params: ReposCheckCollaboratorParams, callback?: Callback ): Promise, compareCommits( params: ReposCompareCommitsParams, callback?: Callback ): Promise, createCommitComment( params: ReposCreateCommitCommentParams, callback?: Callback ): Promise, createDeployment( params: ReposCreateDeploymentParams, callback?: Callback ): Promise, createDeploymentStatus( params: ReposCreateDeploymentStatusParams, callback?: Callback ): Promise, createFile( params: ReposCreateFileParams, callback?: Callback ): Promise, createForAuthenticatedUser( params: ReposCreateForAuthenticatedUserParams, callback?: Callback ): Promise, createFork( params: ReposCreateForkParams, callback?: Callback ): Promise, createHook( params: ReposCreateHookParams, callback?: Callback ): Promise, createInOrg( params: ReposCreateInOrgParams, callback?: Callback ): Promise, createRelease( params: ReposCreateReleaseParams, callback?: Callback ): Promise, createStatus( params: ReposCreateStatusParams, callback?: Callback ): Promise, declineInvitation( params: ReposDeclineInvitationParams, callback?: Callback ): Promise, delete(params: ReposDeleteParams, callback?: Callback): Promise, deleteCommitComment( params: ReposDeleteCommitCommentParams, callback?: Callback ): Promise, deleteDownload( params: ReposDeleteDownloadParams, callback?: Callback ): Promise, deleteFile( params: ReposDeleteFileParams, callback?: Callback ): Promise, deleteHook( params: ReposDeleteHookParams, callback?: Callback ): Promise, deleteInvitation( params: ReposDeleteInvitationParams, callback?: Callback ): Promise, deleteRelease( params: ReposDeleteReleaseParams, callback?: Callback ): Promise, deleteReleaseAsset( params: ReposDeleteReleaseAssetParams, callback?: Callback ): Promise, get(params: ReposGetParams, callback?: Callback): Promise, getArchiveLink( params: ReposGetArchiveLinkParams, callback?: Callback ): Promise, getBranch( params: ReposGetBranchParams, callback?: Callback ): Promise, getBranchProtection( params: ReposGetBranchProtectionParams, callback?: Callback ): Promise, getClones( params: ReposGetClonesParams, callback?: Callback ): Promise, getCodeFrequencyStats( params: ReposGetCodeFrequencyStatsParams, callback?: Callback ): Promise, getCollaboratorPermissionLevel( params: ReposGetCollaboratorPermissionLevelParams, callback?: Callback ): Promise, getCombinedStatusForRef( params: ReposGetCombinedStatusForRefParams, callback?: Callback ): Promise, getCommit( params: ReposGetCommitParams, callback?: Callback ): Promise, getCommitActivityStats( params: ReposGetCommitActivityStatsParams, callback?: Callback ): Promise, getCommitComment( params: ReposGetCommitCommentParams, callback?: Callback ): Promise, getCommitRefSha( params: ReposGetCommitRefShaParams, callback?: Callback ): Promise, getContents( params: ReposGetContentsParams, callback?: Callback ): Promise, getContributorsStats( params: ReposGetContributorsStatsParams, callback?: Callback ): Promise, getDeployKey( params: ReposGetDeployKeyParams, callback?: Callback ): Promise, getDeployment( params: ReposGetDeploymentParams, callback?: Callback ): Promise, getDeploymentStatus( params: ReposGetDeploymentStatusParams, callback?: Callback ): Promise, getDownload( params: ReposGetDownloadParams, callback?: Callback ): Promise, getHook(params: ReposGetHookParams, callback?: Callback): Promise, getLatestPagesBuild( params: ReposGetLatestPagesBuildParams, callback?: Callback ): Promise, getLatestRelease( params: ReposGetLatestReleaseParams, callback?: Callback ): Promise, getPages(params: ReposGetPagesParams, callback?: Callback): Promise, getPagesBuild( params: ReposGetPagesBuildParams, callback?: Callback ): Promise, getParticipationStats( params: ReposGetParticipationStatsParams, callback?: Callback ): Promise, getProtectedBranchAdminEnforcement( params: ReposGetProtectedBranchAdminEnforcementParams, callback?: Callback ): Promise, getProtectedBranchPullRequestReviewEnforcement( params: ReposGetProtectedBranchPullRequestReviewEnforcementParams, callback?: Callback ): Promise, getProtectedBranchRequiredSignatures( params: ReposGetProtectedBranchRequiredSignaturesParams, callback?: Callback ): Promise, getProtectedBranchRequiredStatusChecks( params: ReposGetProtectedBranchRequiredStatusChecksParams, callback?: Callback ): Promise, getProtectedBranchRestrictions( params: ReposGetProtectedBranchRestrictionsParams, callback?: Callback ): Promise, getPunchCardStats( params: ReposGetPunchCardStatsParams, callback?: Callback ): Promise, getReadme( params: ReposGetReadmeParams, callback?: Callback ): Promise, getRelease( params: ReposGetReleaseParams, callback?: Callback ): Promise, getReleaseAsset( params: ReposGetReleaseAssetParams, callback?: Callback ): Promise, getReleaseByTag( params: ReposGetReleaseByTagParams, callback?: Callback ): Promise, getTopPaths( params: ReposGetTopPathsParams, callback?: Callback ): Promise, getTopReferrers( params: ReposGetTopReferrersParams, callback?: Callback ): Promise, getViews(params: ReposGetViewsParams, callback?: Callback): Promise, list(params: ReposListParams, callback?: Callback): Promise, listAssetsForRelease( params: ReposListAssetsForReleaseParams, callback?: Callback ): Promise, listBranches( params: ReposListBranchesParams, callback?: Callback ): Promise, listCollaborators( params: ReposListCollaboratorsParams, callback?: Callback ): Promise, listCommentsForCommit( params: ReposListCommentsForCommitParams, callback?: Callback ): Promise, listCommitComments( params: ReposListCommitCommentsParams, callback?: Callback ): Promise, listCommits( params: ReposListCommitsParams, callback?: Callback ): Promise, listContributors( params: ReposListContributorsParams, callback?: Callback ): Promise, listDeployKeys( params: ReposListDeployKeysParams, callback?: Callback ): Promise, listDeploymentStatuses( params: ReposListDeploymentStatusesParams, callback?: Callback ): Promise, listDeployments( params: ReposListDeploymentsParams, callback?: Callback ): Promise, listDownloads( params: ReposListDownloadsParams, callback?: Callback ): Promise, listForOrg( params: ReposListForOrgParams, callback?: Callback ): Promise, listForUser( params: ReposListForUserParams, callback?: Callback ): Promise, listForks( params: ReposListForksParams, callback?: Callback ): Promise, listHooks( params: ReposListHooksParams, callback?: Callback ): Promise, listInvitations( params: ReposListInvitationsParams, callback?: Callback ): Promise, listInvitationsForAuthenticatedUser( params: ReposListInvitationsForAuthenticatedUserParams, callback?: Callback ): Promise, listLanguages( params: ReposListLanguagesParams, callback?: Callback ): Promise, listPagesBuilds( params: ReposListPagesBuildsParams, callback?: Callback ): Promise, listProtectedBranchRequiredStatusChecksContexts( params: ReposListProtectedBranchRequiredStatusChecksContextsParams, callback?: Callback ): Promise, listProtectedBranchTeamRestrictions( params: ReposListProtectedBranchTeamRestrictionsParams, callback?: Callback ): Promise, listProtectedBranchUserRestrictions( params: ReposListProtectedBranchUserRestrictionsParams, callback?: Callback ): Promise, listPublic( params: ReposListPublicParams, callback?: Callback ): Promise, listReleases( params: ReposListReleasesParams, callback?: Callback ): Promise, listStatusesForRef( params: ReposListStatusesForRefParams, callback?: Callback ): Promise, listTags(params: ReposListTagsParams, callback?: Callback): Promise, listTeams( params: ReposListTeamsParams, callback?: Callback ): Promise, listTopics( params: ReposListTopicsParams, callback?: Callback ): Promise, merge(params: ReposMergeParams, callback?: Callback): Promise, pingHook(params: ReposPingHookParams, callback?: Callback): Promise, removeBranchProtection( params: ReposRemoveBranchProtectionParams, callback?: Callback ): Promise, removeCollaborator( params: ReposRemoveCollaboratorParams, callback?: Callback ): Promise, removeDeployKey( params: ReposRemoveDeployKeyParams, callback?: Callback ): Promise, removeProtectedBranchAdminEnforcement( params: ReposRemoveProtectedBranchAdminEnforcementParams, callback?: Callback ): Promise, removeProtectedBranchPullRequestReviewEnforcement( params: ReposRemoveProtectedBranchPullRequestReviewEnforcementParams, callback?: Callback ): Promise, removeProtectedBranchRequiredSignatures( params: ReposRemoveProtectedBranchRequiredSignaturesParams, callback?: Callback ): Promise, removeProtectedBranchRequiredStatusChecks( params: ReposRemoveProtectedBranchRequiredStatusChecksParams, callback?: Callback ): Promise, removeProtectedBranchRequiredStatusChecksContexts( params: ReposRemoveProtectedBranchRequiredStatusChecksContextsParams, callback?: Callback ): Promise, removeProtectedBranchRestrictions( params: ReposRemoveProtectedBranchRestrictionsParams, callback?: Callback ): Promise, removeProtectedBranchTeamRestrictions( params: ReposRemoveProtectedBranchTeamRestrictionsParams, callback?: Callback ): Promise, removeProtectedBranchUserRestrictions( params: ReposRemoveProtectedBranchUserRestrictionsParams, callback?: Callback ): Promise, replaceProtectedBranchRequiredStatusChecksContexts( params: ReposReplaceProtectedBranchRequiredStatusChecksContextsParams, callback?: Callback ): Promise, replaceProtectedBranchTeamRestrictions( params: ReposReplaceProtectedBranchTeamRestrictionsParams, callback?: Callback ): Promise, replaceProtectedBranchUserRestrictions( params: ReposReplaceProtectedBranchUserRestrictionsParams, callback?: Callback ): Promise, replaceTopics( params: ReposReplaceTopicsParams, callback?: Callback ): Promise, requestPageBuild( params: ReposRequestPageBuildParams, callback?: Callback ): Promise, retrieveCommunityProfileMetrics( params: ReposRetrieveCommunityProfileMetricsParams, callback?: Callback ): Promise, testPushHook( params: ReposTestPushHookParams, callback?: Callback ): Promise, transfer(params: ReposTransferParams, callback?: Callback): Promise, update(params: ReposUpdateParams, callback?: Callback): Promise, updateBranchProtection( params: ReposUpdateBranchProtectionParams, callback?: Callback ): Promise, updateCommitComment( params: ReposUpdateCommitCommentParams, callback?: Callback ): Promise, updateFile( params: ReposUpdateFileParams, callback?: Callback ): Promise, updateHook( params: ReposUpdateHookParams, callback?: Callback ): Promise, updateInformationAboutPagesSite( params: ReposUpdateInformationAboutPagesSiteParams, callback?: Callback ): Promise, updateInvitation( params: ReposUpdateInvitationParams, callback?: Callback ): Promise, updateProtectedBranchPullRequestReviewEnforcement( params: ReposUpdateProtectedBranchPullRequestReviewEnforcementParams, callback?: Callback ): Promise, updateProtectedBranchRequiredStatusChecks( params: ReposUpdateProtectedBranchRequiredStatusChecksParams, callback?: Callback ): Promise, updateRelease( params: ReposUpdateReleaseParams, callback?: Callback ): Promise, updateReleaseAsset( params: ReposUpdateReleaseAssetParams, callback?: Callback ): Promise, uploadReleaseAsset( params: ReposUploadReleaseAssetParams, callback?: Callback ): Promise }; search: { code(params: SearchCodeParams, callback?: Callback): Promise, commits(params: SearchCommitsParams, callback?: Callback): Promise, issues(params: SearchIssuesParams, callback?: Callback): Promise, labels(params: SearchLabelsParams, callback?: Callback): Promise, repos(params: SearchReposParams, callback?: Callback): Promise, topics(params: SearchTopicsParams, callback?: Callback): Promise, users(params: SearchUsersParams, callback?: Callback): Promise }; teams: { addMember( params: TeamsAddMemberParams, callback?: Callback ): Promise, addOrUpdateMembership( params: TeamsAddOrUpdateMembershipParams, callback?: Callback ): Promise, addOrUpdateProject( params: TeamsAddOrUpdateProjectParams, callback?: Callback ): Promise, addOrUpdateRepo( params: TeamsAddOrUpdateRepoParams, callback?: Callback ): Promise, checkManagesRepo( params: TeamsCheckManagesRepoParams, callback?: Callback ): Promise, create(params: TeamsCreateParams, callback?: Callback): Promise, createDiscussion( params: TeamsCreateDiscussionParams, callback?: Callback ): Promise, createDiscussionComment( params: TeamsCreateDiscussionCommentParams, callback?: Callback ): Promise, delete(params: TeamsDeleteParams, callback?: Callback): Promise, deleteDiscussion( params: TeamsDeleteDiscussionParams, callback?: Callback ): Promise, deleteDiscussionComment( params: TeamsDeleteDiscussionCommentParams, callback?: Callback ): Promise, get(params: TeamsGetParams, callback?: Callback): Promise, getDiscussion( params: TeamsGetDiscussionParams, callback?: Callback ): Promise, getDiscussionComment( params: TeamsGetDiscussionCommentParams, callback?: Callback ): Promise, getMember( params: TeamsGetMemberParams, callback?: Callback ): Promise, getMembership( params: TeamsGetMembershipParams, callback?: Callback ): Promise, list(params: TeamsListParams, callback?: Callback): Promise, listChild( params: TeamsListChildParams, callback?: Callback ): Promise, listDiscussionComments( params: TeamsListDiscussionCommentsParams, callback?: Callback ): Promise, listDiscussions( params: TeamsListDiscussionsParams, callback?: Callback ): Promise, listForAuthenticatedUser( params: TeamsListForAuthenticatedUserParams, callback?: Callback ): Promise, listMembers( params: TeamsListMembersParams, callback?: Callback ): Promise, listPendingInvitations( params: TeamsListPendingInvitationsParams, callback?: Callback ): Promise, listProjects( params: TeamsListProjectsParams, callback?: Callback ): Promise, listRepos( params: TeamsListReposParams, callback?: Callback ): Promise, removeMember( params: TeamsRemoveMemberParams, callback?: Callback ): Promise, removeMembership( params: TeamsRemoveMembershipParams, callback?: Callback ): Promise, removeProject( params: TeamsRemoveProjectParams, callback?: Callback ): Promise, removeRepo( params: TeamsRemoveRepoParams, callback?: Callback ): Promise, reviewProject( params: TeamsReviewProjectParams, callback?: Callback ): Promise, update(params: TeamsUpdateParams, callback?: Callback): Promise, updateDiscussion( params: TeamsUpdateDiscussionParams, callback?: Callback ): Promise, updateDiscussionComment( params: TeamsUpdateDiscussionCommentParams, callback?: Callback ): Promise }; users: { addEmails( params: UsersAddEmailsParams, callback?: Callback ): Promise, block(params: UsersBlockParams, callback?: Callback): Promise, checkBlocked( params: UsersCheckBlockedParams, callback?: Callback ): Promise, checkFollowing( params: UsersCheckFollowingParams, callback?: Callback ): Promise, checkFollowingForUser( params: UsersCheckFollowingForUserParams, callback?: Callback ): Promise, createGpgKey( params: UsersCreateGpgKeyParams, callback?: Callback ): Promise, createPublicKey( params: UsersCreatePublicKeyParams, callback?: Callback ): Promise, deleteEmails( params: UsersDeleteEmailsParams, callback?: Callback ): Promise, deleteGpgKey( params: UsersDeleteGpgKeyParams, callback?: Callback ): Promise, deletePublicKey( params: UsersDeletePublicKeyParams, callback?: Callback ): Promise, follow(params: UsersFollowParams, callback?: Callback): Promise, getAuthenticated(params: EmptyParams, callback?: Callback): Promise, getByUsername( params: UsersGetByUsernameParams, callback?: Callback ): Promise, getContextForUser( params: UsersGetContextForUserParams, callback?: Callback ): Promise, getGpgKey( params: UsersGetGpgKeyParams, callback?: Callback ): Promise, getPublicKey( params: UsersGetPublicKeyParams, callback?: Callback ): Promise, list(params: UsersListParams, callback?: Callback): Promise, listBlocked(params: EmptyParams, callback?: Callback): Promise, listEmails( params: UsersListEmailsParams, callback?: Callback ): Promise, listFollowersForAuthenticatedUser( params: UsersListFollowersForAuthenticatedUserParams, callback?: Callback ): Promise, listFollowersForUser( params: UsersListFollowersForUserParams, callback?: Callback ): Promise, listFollowingForAuthenticatedUser( params: UsersListFollowingForAuthenticatedUserParams, callback?: Callback ): Promise, listFollowingForUser( params: UsersListFollowingForUserParams, callback?: Callback ): Promise, listGpgKeys( params: UsersListGpgKeysParams, callback?: Callback ): Promise, listGpgKeysForUser( params: UsersListGpgKeysForUserParams, callback?: Callback ): Promise, listPublicEmails( params: UsersListPublicEmailsParams, callback?: Callback ): Promise, listPublicKeys( params: UsersListPublicKeysParams, callback?: Callback ): Promise, listPublicKeysForUser( params: UsersListPublicKeysForUserParams, callback?: Callback ): Promise, togglePrimaryEmailVisibility( params: UsersTogglePrimaryEmailVisibilityParams, callback?: Callback ): Promise, unblock(params: UsersUnblockParams, callback?: Callback): Promise, unfollow(params: UsersUnfollowParams, callback?: Callback): Promise, updateAuthenticated( params: UsersUpdateAuthenticatedParams, callback?: Callback ): Promise }; } declare var exports: Class; }