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 ActivityCheckNotificationThreadSubscriptionParams = { thread_id: string }; declare type ActivityCheckStarringRepoParams = { owner: string, repo: string }; declare type ActivityDeleteNotificationThreadSubscriptionParams = { thread_id: string }; declare type ActivityGetEventsParams = { per_page?: number, page?: number }; declare type ActivityGetEventsForOrgParams = { org: string, per_page?: number, page?: number }; declare type ActivityGetEventsForRepoParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ActivityGetEventsForRepoNetworkParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ActivityGetEventsForUserParams = { username: string, per_page?: number, page?: number }; declare type ActivityGetEventsForUserOrgParams = { username: string, org: string, per_page?: number, page?: number }; declare type ActivityGetEventsForUserPublicParams = { username: string, per_page?: number, page?: number }; declare type ActivityGetEventsReceivedParams = { username: string, per_page?: number, page?: number }; declare type ActivityGetEventsReceivedPublicParams = { username: string, per_page?: number, page?: number }; declare type ActivityGetNotificationThreadParams = { thread_id: string }; declare type ActivityGetNotificationsParams = { all?: boolean, participating?: boolean, since?: string, before?: string, per_page?: number, page?: number }; declare type ActivityGetNotificationsForUserParams = { owner: string, repo: string, all?: boolean, participating?: boolean, since?: string, before?: string, per_page?: number, page?: number }; declare type ActivityGetRepoSubscriptionParams = { owner: string, repo: string }; declare type ActivityGetStargazersForRepoParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ActivityGetStarredReposParams = { sort?: "created" | "updated", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type ActivityGetStarredReposForUserParams = { username: string, sort?: "created" | "updated", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type ActivityGetWatchedReposParams = { per_page?: number, page?: number }; declare type ActivityGetWatchedReposForUserParams = { username: string, per_page?: number, page?: number }; declare type ActivityGetWatchersForRepoParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ActivityMarkNotificationThreadAsReadParams = { thread_id: string }; declare type ActivityMarkNotificationsAsReadParams = { last_read_at?: string }; declare type ActivityMarkNotificationsAsReadForRepoParams = { owner: string, repo: string, last_read_at?: string }; declare type ActivitySetNotificationThreadSubscriptionParams = { thread_id: string, ignored?: boolean }; declare type ActivitySetRepoSubscriptionParams = { owner: string, repo: string, subscribed?: boolean, ignored?: boolean }; declare type ActivityStarRepoParams = { owner: string, repo: string }; declare type ActivityUnstarRepoParams = { owner: string, repo: string }; declare type ActivityUnwatchRepoParams = { owner: string, repo: string }; declare type AppsAddRepoToInstallationParams = { installation_id: string, repository_id: string }; declare type AppsCheckMarketplaceListingAccountParams = { account_id: string, per_page?: number, page?: number }; declare type AppsCheckMarketplaceListingStubbedAccountParams = { account_id: string, per_page?: number, page?: number }; declare type AppsCreateInstallationTokenParams = { installation_id: string }; declare type AppsFindOrgInstallationParams = { org: string }; declare type AppsFindRepoInstallationParams = { owner: string, repo: string }; declare type AppsFindUserInstallationParams = { username: string }; declare type AppsGetForSlugParams = { app_slug: string }; declare type AppsGetInstallationParams = { installation_id: string }; declare type AppsGetInstallationRepositoriesParams = { per_page?: number, page?: number }; declare type AppsGetInstallationsParams = { per_page?: number, page?: number }; declare type AppsGetMarketplaceListingPlanAccountsParams = { plan_id: string, sort?: "created" | "updated", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type AppsGetMarketplaceListingPlansParams = { per_page?: number, page?: number }; declare type AppsGetMarketplaceListingStubbedPlanAccountsParams = { plan_id: string, sort?: "created" | "updated", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type AppsGetMarketplaceListingStubbedPlansParams = { per_page?: number, page?: number }; declare type AppsRemoveRepoFromInstallationParams = { installation_id: string, repository_id: string }; declare type AuthorizationCheckParams = { client_id: string, access_token: string }; declare type AuthorizationCreateParams = { scopes?: string[], note: string, note_url?: string, client_id?: string, client_secret?: string, fingerprint?: string }; declare type AuthorizationDeleteParams = { authorization_id: string }; declare type AuthorizationDeleteGrantParams = { grant_id: string }; declare type AuthorizationGetParams = { authorization_id: string }; declare type AuthorizationGetAllParams = { per_page?: number, page?: number }; declare type AuthorizationGetGrantParams = { grant_id: string }; declare type AuthorizationGetGrantsParams = { per_page?: number, page?: number }; declare type AuthorizationGetOrCreateAuthorizationForAppParams = { client_id: string, client_secret: string, scopes?: string[], note?: string, note_url?: string, fingerprint?: string }; declare type AuthorizationGetOrCreateAuthorizationForAppAndFingerprintParams = { client_id: string, fingerprint: string, client_secret: string, scopes?: string[], note?: string, note_url?: string }; declare type AuthorizationResetParams = { client_id: string, access_token: string }; declare type AuthorizationRevokeParams = { client_id: string, access_token: string }; declare type AuthorizationRevokeGrantParams = { client_id: string, access_token: string }; declare type AuthorizationUpdateParams = { authorization_id: string, 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" | "details_url" | "conclusion" | "status" | "completed", 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: string }; declare type ChecksGetSuiteParams = { owner: string, repo: string, check_suite_id: string }; declare type ChecksListAnnotationsParams = { owner: string, repo: string, check_run_id: string, 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: string, 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: string }; declare type ChecksSetSuitesPreferencesParams = { owner: string, repo: string, auto_trigger_checks?: ChecksSetSuitesPreferencesParamsAutoTriggerChecks[] }; declare type ChecksUpdateParams = { owner: string, repo: string, check_run_id: string, 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" | "conclusion" | "status" | "completed", completed_at?: string, output?: ChecksUpdateParamsOutput, actions?: ChecksUpdateParamsActions[] }; declare type GistsCheckStarParams = { 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: string }; declare type GistsEditParams = { gist_id: string, description?: string, files?: GistsEditParamsFiles }; declare type GistsEditCommentParams = { gist_id: string, comment_id: string, body: string }; declare type GistsForkParams = { gist_id: string }; declare type GistsGetParams = { gist_id: string }; declare type GistsGetAllParams = { since?: string, per_page?: number, page?: number }; declare type GistsGetCommentParams = { gist_id: string, comment_id: string }; declare type GistsGetCommentsParams = { gist_id: string, per_page?: number, page?: number }; declare type GistsGetCommitsParams = { gist_id: string, per_page?: number, page?: number }; declare type GistsGetForUserParams = { username: string, since?: string, per_page?: number, page?: number }; declare type GistsGetForksParams = { gist_id: string, per_page?: number, page?: number }; declare type GistsGetPublicParams = { since?: string, per_page?: number, page?: number }; declare type GistsGetRevisionParams = { gist_id: string, sha: string }; declare type GistsGetStarredParams = { since?: string, per_page?: number, page?: number }; declare type GistsStarParams = { gist_id: string }; declare type GistsUnstarParams = { gist_id: 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 GitdataCreateReferenceParams = { 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 GitdataDeleteReferenceParams = { 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 GitdataGetCommitSignatureVerificationParams = { owner: string, repo: string, commit_sha: string }; declare type GitdataGetReferenceParams = { owner: string, repo: string, ref: string }; declare type GitdataGetTagParams = { owner: string, repo: string, tag_sha: string }; declare type GitdataGetTagSignatureVerificationParams = { owner: string, repo: string, tag_sha: string }; declare type GitdataGetTreeParams = { owner: string, repo: string, tree_sha: string, recursive?: 1 }; declare type GitdataUpdateReferenceParams = { owner: string, repo: string, ref: string, sha: string, force?: boolean }; declare type IssuesAddAssigneesToIssueParams = { 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: string }; declare type IssuesDeleteLabelParams = { owner: string, repo: string, name: string }; declare type IssuesDeleteMilestoneParams = { owner: string, repo: string, number: number }; declare type IssuesEditParams = { owner: string, repo: string, number: number, title?: string, body?: string, assignee?: string, state?: "open" | "closed", milestone?: number, labels?: string[], assignees?: string[] }; declare type IssuesEditCommentParams = { owner: string, repo: string, comment_id: string, body: string }; declare type IssuesGetParams = { owner: string, repo: string, number: number }; declare type IssuesGetAllParams = { 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 IssuesGetAssigneesParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type IssuesGetCommentParams = { owner: string, repo: string, comment_id: string, per_page?: number, page?: number }; declare type IssuesGetCommentsParams = { owner: string, repo: string, number: number, since?: string, per_page?: number, page?: number }; declare type IssuesGetCommentsForRepoParams = { owner: string, repo: string, sort?: "created" | "updated", direction?: "asc" | "desc", since?: string }; declare type IssuesGetEventParams = { owner: string, repo: string, event_id: string }; declare type IssuesGetEventsParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type IssuesGetEventsForRepoParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type IssuesGetEventsTimelineParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type IssuesGetForOrgParams = { 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 IssuesGetForRepoParams = { 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 IssuesGetForUserParams = { 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 IssuesGetIssueLabelsParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type IssuesGetLabelParams = { owner: string, repo: string, name: string }; declare type IssuesGetLabelsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type IssuesGetMilestoneParams = { owner: string, repo: string, number: number }; declare type IssuesGetMilestoneLabelsParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type IssuesGetMilestonesParams = { 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 IssuesRemoveAllLabelsParams = { owner: string, repo: string, number: number }; declare type IssuesRemoveAssigneesFromIssueParams = { owner: string, repo: string, number: number, assignees?: string[] }; declare type IssuesRemoveLabelParams = { owner: string, repo: string, number: number, name: string }; declare type IssuesReplaceAllLabelsParams = { owner: string, repo: string, number: number, labels: string[] }; declare type IssuesUnlockParams = { owner: string, repo: string, number: number }; 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 MigrationsCancelImportParams = { owner: string, repo: string }; declare type MigrationsDeleteArchiveForAuthenticatedUserParams = { migration_id: string }; declare type MigrationsDeleteMigrationArchiveParams = { org: string, migration_id: string }; declare type MigrationsGetArchiveForAuthenticatedUserParams = { migration_id: string }; declare type MigrationsGetImportCommitAuthorsParams = { owner: string, repo: string, since?: string }; declare type MigrationsGetImportProgressParams = { owner: string, repo: string }; declare type MigrationsGetLargeImportFilesParams = { owner: string, repo: string }; declare type MigrationsGetMigrationArchiveLinkParams = { org: string, migration_id: string }; declare type MigrationsGetMigrationStatusParams = { org: string, migration_id: string }; declare type MigrationsGetMigrationsParams = { org: string, per_page?: number, page?: number }; declare type MigrationsGetStatusForAuthenticatedUserParams = { migration_id: string }; declare type MigrationsListForAuthenticatedUserParams = { per_page?: number, page?: number }; declare type MigrationsMapImportCommitAuthorParams = { owner: string, repo: string, author_id: string, email?: string, name?: string }; declare type MigrationsSetImportLfsPreferenceParams = { owner: string, repo: string, use_lfs: "opt_in" | "opt_out" }; declare type MigrationsStartForAuthenticatedUserParams = { 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 MigrationsStartMigrationParams = { org: string, repositories: string[], lock_repositories?: boolean, exclude_attachments?: boolean }; declare type MigrationsUnlockRepoForAuthenticatedUserParams = { migration_id: string, repo_name: string }; declare type MigrationsUnlockRepoLockedForMigrationParams = { org: string, migration_id: string, repo_name: string }; declare type MigrationsUpdateImportParams = { owner: string, repo: string, vcs_username?: string, vcs_password?: string }; declare type MiscGetCodeOfConductParams = { key: string }; declare type MiscGetGitignoreTemplateParams = { name: string }; declare type MiscGetLicenseParams = { license: string }; declare type MiscGetRepoCodeOfConductParams = { owner: string, repo: string }; declare type MiscGetRepoLicenseParams = { owner: string, repo: string }; declare type MiscRenderMarkdownParams = { text: string, mode?: "markdown" | "gfm", context?: string }; declare type MiscRenderMarkdownRawParams = { data: string }; declare type OrgsAddOrgMembershipParams = { org: string, username: string, role?: "admin" | "member" }; declare type OrgsAddTeamMembershipParams = { team_id: string, username: string, role?: "member" | "maintainer" }; declare type OrgsAddTeamRepoParams = { team_id: string, owner: string, repo: string, permission?: "pull" | "push" | "admin" }; 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 OrgsCheckTeamRepoParams = { team_id: string, owner: string, repo: 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 OrgsCreateTeamParams = { org: string, name: string, description?: string, maintainers?: string[], repo_names?: string[], privacy?: "secret" | "closed", permission?: "pull" | "push" | "admin", parent_team_id?: number }; declare type OrgsDeleteHookParams = { org: string, hook_id: string }; declare type OrgsDeleteTeamParams = { team_id: string }; declare type OrgsDeleteTeamRepoParams = { team_id: string, owner: string, repo: string }; declare type OrgsEditHookParams = { org: string, hook_id: string, config?: OrgsEditHookParamsConfig, events?: string[], active?: boolean }; declare type OrgsEditTeamParams = { team_id: string, name: string, description?: string, privacy?: string, permission?: "pull" | "push" | "admin", parent_team_id?: number }; declare type OrgsGetParams = { org: string }; declare type OrgsGetAllParams = { since?: string, per_page?: number, page?: number }; declare type OrgsGetBlockedUsersParams = { org: string }; declare type OrgsGetChildTeamsParams = { team_id: string, per_page?: number, page?: number }; declare type OrgsGetForUserParams = { username: string, per_page?: number, page?: number }; declare type OrgsGetHookParams = { org: string, hook_id: string }; declare type OrgsGetHooksParams = { org: string, per_page?: number, page?: number }; declare type OrgsGetInvitationTeamsParams = { org: string, invitation_id: string, per_page?: number, page?: number }; declare type OrgsGetMembersParams = { org: string, filter?: "2fa_disabled" | "all", role?: "all" | "admin" | "member", per_page?: number, page?: number }; declare type OrgsGetOrgMembershipParams = { org: string, username: string }; declare type OrgsGetOutsideCollaboratorsParams = { org: string, filter?: "2fa_disabled" | "all", per_page?: number, page?: number }; declare type OrgsGetPendingOrgInvitesParams = { org: string, per_page?: number, page?: number }; declare type OrgsGetPendingTeamInvitesParams = { team_id: string, per_page?: number, page?: number }; declare type OrgsGetPublicMembersParams = { org: string, per_page?: number, page?: number }; declare type OrgsGetTeamParams = { team_id: string }; declare type OrgsGetTeamMembersParams = { team_id: string, role?: "member" | "maintainer" | "all", per_page?: number, page?: number }; declare type OrgsGetTeamMembershipParams = { team_id: string, username: string }; declare type OrgsGetTeamReposParams = { team_id: string, per_page?: number, page?: number }; declare type OrgsGetTeamsParams = { org: string, per_page?: number, page?: number }; declare type OrgsPingHookParams = { org: string, hook_id: string }; declare type OrgsPublicizeMembershipParams = { org: string, username: string }; declare type OrgsRemoveMemberParams = { org: string, username: string }; declare type OrgsRemoveOrgMembershipParams = { org: string, username: string }; declare type OrgsRemoveOutsideCollaboratorParams = { org: string, username: string }; declare type OrgsRemoveTeamMembershipParams = { team_id: 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 ProjectsAddCollaboratorParams = { project_id: string, username: string, permission?: "read" | "write" | "admin" }; declare type ProjectsCreateOrgProjectParams = { org: string, name: string, body?: string, per_page?: number, page?: number }; declare type ProjectsCreateProjectCardParams = { column_id: string, note?: string, content_id?: number, content_type?: string }; declare type ProjectsCreateProjectColumnParams = { project_id: string, name: string }; declare type ProjectsCreateRepoProjectParams = { owner: string, repo: string, name: string, body?: string, per_page?: number, page?: number }; declare type ProjectsDeleteProjectParams = { project_id: string }; declare type ProjectsDeleteProjectCardParams = { card_id: string }; declare type ProjectsDeleteProjectColumnParams = { column_id: string }; declare type ProjectsGetCollaboratorsParams = { project_id: string, affiliation?: "outside" | "direct" | "all", per_page?: number, page?: number }; declare type ProjectsGetOrgProjectsParams = { org: string, state?: "open" | "closed" | "all", per_page?: number, page?: number }; declare type ProjectsGetProjectParams = { project_id: string, per_page?: number, page?: number }; declare type ProjectsGetProjectCardParams = { card_id: string }; declare type ProjectsGetProjectCardsParams = { column_id: string, archived_state?: "all" | "archived" | "not_archived", per_page?: number, page?: number }; declare type ProjectsGetProjectColumnParams = { column_id: string }; declare type ProjectsGetProjectColumnsParams = { project_id: string, per_page?: number, page?: number }; declare type ProjectsGetRepoProjectsParams = { owner: string, repo: string, state?: "open" | "closed" | "all", per_page?: number, page?: number }; declare type ProjectsGetUserPermissionLevelParams = { project_id: string, username: string }; declare type ProjectsMoveProjectCardParams = { card_id: string, position: "top" | "bottom" | "after:", column_id?: number }; declare type ProjectsMoveProjectColumnParams = { column_id: string, position: "first" | "last" | "after:" }; declare type ProjectsRemoveCollaboratorParams = { project_id: string, username: string }; declare type ProjectsUpdateProjectParams = { project_id: string, name?: string, body?: string, state?: "open" | "closed", organization_permission?: string, public?: boolean, per_page?: number, page?: number }; declare type ProjectsUpdateProjectCardParams = { card_id: string, note?: string, archived?: boolean }; declare type ProjectsUpdateProjectColumnParams = { column_id: string, name: string }; declare type PullRequestsCheckMergedParams = { 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, title: string, head: string, base: string, body?: 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: string }; declare type PullRequestsDeletePendingReviewParams = { owner: string, repo: string, number: number, review_id: string }; 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: string, message?: string }; declare type PullRequestsEditCommentParams = { owner: string, repo: string, comment_id: string, body: string }; declare type PullRequestsGetParams = { owner: string, repo: string, number: number }; declare type PullRequestsGetAllParams = { 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 PullRequestsGetCommentParams = { owner: string, repo: string, comment_id: string }; declare type PullRequestsGetCommentsParams = { owner: string, repo: string, number: number, sort?: "created" | "updated", direction?: "asc" | "desc", since?: string, per_page?: number, page?: number }; declare type PullRequestsGetCommentsForRepoParams = { owner: string, repo: string, sort?: "created" | "updated", direction?: "asc" | "desc", since?: string, per_page?: number, page?: number }; declare type PullRequestsGetCommitsParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type PullRequestsGetFilesParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type PullRequestsGetReviewParams = { owner: string, repo: string, number: number, review_id: string }; declare type PullRequestsGetReviewCommentsParams = { owner: string, repo: string, number: number, review_id: string, per_page?: number, page?: number }; declare type PullRequestsGetReviewRequestsParams = { owner: string, repo: string, number: number, per_page?: number, page?: number }; declare type PullRequestsGetReviewsParams = { 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: string, 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 ReactionsCreateForCommitCommentParams = { owner: string, repo: string, comment_id: string, 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: string, content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" }; declare type ReactionsCreateForPullRequestReviewCommentParams = { owner: string, repo: string, comment_id: string, content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" }; declare type ReactionsCreateForTeamDiscussionParams = { team_id: string, discussion_number: number, content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" }; declare type ReactionsCreateForTeamDiscussionCommentParams = { team_id: string, discussion_number: number, comment_number: number, content: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray" }; declare type ReactionsDeleteParams = { reaction_id: string }; declare type ReactionsGetForCommitCommentParams = { owner: string, repo: string, comment_id: string, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReactionsGetForIssueParams = { owner: string, repo: string, number: number, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReactionsGetForIssueCommentParams = { owner: string, repo: string, comment_id: string, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReactionsGetForPullRequestReviewCommentParams = { owner: string, repo: string, comment_id: string, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReactionsGetForTeamDiscussionParams = { team_id: string, discussion_number: number, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: number }; declare type ReactionsGetForTeamDiscussionCommentParams = { team_id: string, discussion_number: number, comment_number: number, content?: "+1" | "-1" | "laugh" | "confused" | "heart" | "hooray", per_page?: number, page?: 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 ReposCreateParams = { 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 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: string, state: "error" | "failure" | "inactive" | "pending" | "success", target_url?: string, log_url?: string, description?: string, 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 ReposCreateForOrgParams = { 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 ReposCreateHookParams = { owner: string, repo: string, name: string, config: ReposCreateHookParamsConfig, events?: string[], active?: 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 ReposDeleteParams = { owner: string, repo: string }; declare type ReposDeleteAssetParams = { owner: string, repo: string, asset_id: string }; declare type ReposDeleteCommitCommentParams = { owner: string, repo: string, comment_id: string }; declare type ReposDeleteDeployKeyParams = { owner: string, repo: string, key_id: string }; declare type ReposDeleteDownloadParams = { owner: string, repo: string, download_id: string }; 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: string }; declare type ReposDeleteInviteParams = { owner: string, repo: string, invitation_id: string }; declare type ReposDeleteReleaseParams = { owner: string, repo: string, release_id: string }; declare type ReposEditParams = { 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 ReposEditAssetParams = { owner: string, repo: string, asset_id: string, name?: string, label?: string }; declare type ReposEditHookParams = { owner: string, repo: string, hook_id: string, config?: ReposEditHookParamsConfig, events?: string[], add_events?: string[], remove_events?: string[], active?: boolean }; declare type ReposEditReleaseParams = { owner: string, repo: string, release_id: string, tag_name?: string, target_commitish?: string, name?: string, body?: string, draft?: boolean, prerelease?: boolean }; declare type ReposForkParams = { owner: string, repo: string, organization?: string }; declare type ReposGetParams = { owner: string, repo: string }; declare type ReposGetAllParams = { 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 ReposGetAllCommitCommentsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposGetArchiveLinkParams = { owner: string, repo: string, archive_format: "tarball" | "zipball", ref: string }; declare type ReposGetAssetParams = { owner: string, repo: string, asset_id: string }; declare type ReposGetAssetsParams = { owner: string, repo: string, release_id: string, per_page?: number, page?: number }; declare type ReposGetBranchParams = { owner: string, repo: string, branch: string }; declare type ReposGetBranchProtectionParams = { owner: string, repo: string, branch: string }; declare type ReposGetBranchesParams = { owner: string, repo: string, protected?: boolean, per_page?: number, page?: number }; declare type ReposGetClonesParams = { owner: string, repo: string, per?: "day" | "week" }; declare type ReposGetCollaboratorsParams = { owner: string, repo: string, affiliation?: "outside" | "direct" | "all", per_page?: number, page?: number }; declare type ReposGetCombinedStatusForRefParams = { owner: string, repo: string, ref: string }; declare type ReposGetCommitParams = { owner: string, repo: string, sha: string }; declare type ReposGetCommitCommentParams = { owner: string, repo: string, comment_id: string }; declare type ReposGetCommitCommentsParams = { owner: string, repo: string, ref: string, per_page?: number, page?: number }; declare type ReposGetCommitsParams = { owner: string, repo: string, sha?: string, path?: string, author?: string, since?: string, until?: string, per_page?: number, page?: number }; declare type ReposGetCommunityProfileMetricsParams = { owner: string, repo: string }; declare type ReposGetContentParams = { owner: string, repo: string, path: string, ref?: string }; declare type ReposGetContributorsParams = { owner: string, repo: string, anon?: string, per_page?: number, page?: number }; declare type ReposGetDeployKeyParams = { owner: string, repo: string, key_id: string }; declare type ReposGetDeployKeysParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposGetDeploymentParams = { owner: string, repo: string, deployment_id: string }; declare type ReposGetDeploymentStatusParams = { owner: string, repo: string, deployment_id: string, id: number, status_id: number }; declare type ReposGetDeploymentStatusesParams = { owner: string, repo: string, deployment_id: string, id: number, per_page?: number, page?: number }; declare type ReposGetDeploymentsParams = { owner: string, repo: string, sha?: string, ref?: string, task?: string, environment?: string, per_page?: number, page?: number }; declare type ReposGetDownloadParams = { owner: string, repo: string, download_id: string }; declare type ReposGetDownloadsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposGetForOrgParams = { org: string, type?: "all" | "public" | "private" | "forks" | "sources" | "member", per_page?: number, page?: number }; declare type ReposGetForUserParams = { username: string, type?: "all" | "owner" | "member", sort?: "created" | "updated" | "pushed" | "full_name", direction?: "asc" | "desc", per_page?: number, page?: number }; declare type ReposGetForksParams = { owner: string, repo: string, sort?: "newest" | "oldest" | "stargazers", per_page?: number, page?: number }; declare type ReposGetHookParams = { owner: string, repo: string, hook_id: string }; declare type ReposGetHooksParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposGetInvitesParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposGetLanguagesParams = { owner: string, repo: string }; 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: string }; declare type ReposGetPagesBuildsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposGetPathsParams = { 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 ReposGetProtectedBranchRequiredStatusChecksContextsParams = { owner: string, repo: string, branch: string }; declare type ReposGetProtectedBranchRestrictionsParams = { owner: string, repo: string, branch: string }; declare type ReposGetProtectedBranchTeamRestrictionsParams = { owner: string, repo: string, branch: string, per_page?: number, page?: number }; declare type ReposGetProtectedBranchUserRestrictionsParams = { owner: string, repo: string, branch: string }; declare type ReposGetPublicParams = { since?: string, per_page?: number, page?: number }; declare type ReposGetReadmeParams = { owner: string, repo: string, ref?: string }; declare type ReposGetReferrersParams = { owner: string, repo: string }; declare type ReposGetReleaseParams = { owner: string, repo: string, release_id: string }; declare type ReposGetReleaseByTagParams = { owner: string, repo: string, tag: string }; declare type ReposGetReleasesParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposGetShaOfCommitRefParams = { owner: string, repo: string, ref: string }; declare type ReposGetStatsCodeFrequencyParams = { owner: string, repo: string }; declare type ReposGetStatsCommitActivityParams = { owner: string, repo: string }; declare type ReposGetStatsContributorsParams = { owner: string, repo: string }; declare type ReposGetStatsParticipationParams = { owner: string, repo: string }; declare type ReposGetStatsPunchCardParams = { owner: string, repo: string }; declare type ReposGetStatusesParams = { owner: string, repo: string, ref: string, per_page?: number, page?: number }; declare type ReposGetTagsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposGetTeamsParams = { owner: string, repo: string, per_page?: number, page?: number }; declare type ReposGetTopicsParams = { owner: string, repo: string }; declare type ReposGetViewsParams = { owner: string, repo: string, per?: "day" | "week" }; declare type ReposMergeParams = { owner: string, repo: string, base: string, head: string, commit_message?: string }; declare type ReposPingHookParams = { owner: string, repo: string, hook_id: string }; declare type ReposRemoveBranchProtectionParams = { owner: string, repo: string, branch: string }; declare type ReposRemoveCollaboratorParams = { owner: string, repo: string, username: string }; 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 ReposReviewUserPermissionLevelParams = { owner: string, repo: string, username: string }; declare type ReposTestHookParams = { owner: string, repo: string, hook_id: string }; declare type ReposTransferParams = { owner: string, repo: string, new_owner?: string, team_ids?: number[] }; 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: string, 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 ReposUpdateInviteParams = { owner: string, repo: string, invitation_id: string, 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 ReposUploadAssetParams = { 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 UsersAcceptRepoInviteParams = { invitation_id: string }; declare type UsersAddEmailsParams = { emails: string[] }; declare type UsersAddRepoToInstallationParams = { installation_id: string, repository_id: string }; declare type UsersBlockUserParams = { username: string }; declare type UsersCheckBlockedUserParams = { username: string }; declare type UsersCheckFollowingParams = { username: string }; declare type UsersCheckIfOneFollowersOtherParams = { username: string, target_user: string }; declare type UsersCreateGpgKeyParams = { armored_public_key?: string }; declare type UsersCreateKeyParams = { title?: string, key?: string }; declare type UsersDeclineRepoInviteParams = { invitation_id: string }; declare type UsersDeleteEmailsParams = { emails: string[] }; declare type UsersDeleteGpgKeyParams = { gpg_key_id: string }; declare type UsersDeleteKeyParams = { key_id: string }; declare type UsersEditOrgMembershipParams = { org: string, state: "active" }; declare type UsersFollowUserParams = { username: string }; declare type UsersGetAllParams = { since?: string, per_page?: number, page?: number }; declare type UsersGetContextForUserParams = { username: string, subject_type?: "organization" | "repository" | "issue" | "pull_request", subject_id?: string }; declare type UsersGetEmailsParams = { per_page?: number, page?: number }; declare type UsersGetFollowersParams = { per_page?: number, page?: number }; declare type UsersGetFollowersForUserParams = { username: string, per_page?: number, page?: number }; declare type UsersGetFollowingParams = { per_page?: number, page?: number }; declare type UsersGetFollowingForUserParams = { username: string, per_page?: number, page?: number }; declare type UsersGetForUserParams = { username: string }; declare type UsersGetGpgKeyParams = { gpg_key_id: string }; declare type UsersGetGpgKeysParams = { per_page?: number, page?: number }; declare type UsersGetGpgKeysForUserParams = { username: string, per_page?: number, page?: number }; declare type UsersGetInstallationReposParams = { installation_id: string, per_page?: number, page?: number }; declare type UsersGetInstallationsParams = { per_page?: number, page?: number }; declare type UsersGetKeyParams = { key_id: string }; declare type UsersGetKeysParams = { per_page?: number, page?: number }; declare type UsersGetKeysForUserParams = { username: string, per_page?: number, page?: number }; declare type UsersGetMarketplacePurchasesParams = { per_page?: number, page?: number }; declare type UsersGetMarketplaceStubbedPurchasesParams = { per_page?: number, page?: number }; declare type UsersGetOrgMembershipParams = { org: string }; declare type UsersGetOrgMembershipsParams = { state?: "active" | "pending", per_page?: number, page?: number }; declare type UsersGetOrgsParams = { per_page?: number, page?: number }; declare type UsersGetPublicEmailsParams = { per_page?: number, page?: number }; declare type UsersGetRepoInvitesParams = { per_page?: number, page?: number }; declare type UsersGetTeamsParams = { per_page?: number, page?: number }; declare type UsersRemoveRepoFromInstallationParams = { installation_id: string, repository_id: string }; declare type UsersTogglePrimaryEmailVisibilityParams = { email: string, visibility: string }; declare type UsersUnblockUserParams = { username: string }; declare type UsersUnfollowUserParams = { username: string }; declare type UsersUpdateParams = { 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: { checkNotificationThreadSubscription( params: ActivityCheckNotificationThreadSubscriptionParams, callback?: Callback ): Promise, checkStarringRepo( params: ActivityCheckStarringRepoParams, callback?: Callback ): Promise, deleteNotificationThreadSubscription( params: ActivityDeleteNotificationThreadSubscriptionParams, callback?: Callback ): Promise, getEvents( params: ActivityGetEventsParams, callback?: Callback ): Promise, getEventsForOrg( params: ActivityGetEventsForOrgParams, callback?: Callback ): Promise, getEventsForRepo( params: ActivityGetEventsForRepoParams, callback?: Callback ): Promise, getEventsForRepoNetwork( params: ActivityGetEventsForRepoNetworkParams, callback?: Callback ): Promise, getEventsForUser( params: ActivityGetEventsForUserParams, callback?: Callback ): Promise, getEventsForUserOrg( params: ActivityGetEventsForUserOrgParams, callback?: Callback ): Promise, getEventsForUserPublic( params: ActivityGetEventsForUserPublicParams, callback?: Callback ): Promise, getEventsReceived( params: ActivityGetEventsReceivedParams, callback?: Callback ): Promise, getEventsReceivedPublic( params: ActivityGetEventsReceivedPublicParams, callback?: Callback ): Promise, getFeeds(params: EmptyParams, callback?: Callback): Promise, getNotificationThread( params: ActivityGetNotificationThreadParams, callback?: Callback ): Promise, getNotifications( params: ActivityGetNotificationsParams, callback?: Callback ): Promise, getNotificationsForUser( params: ActivityGetNotificationsForUserParams, callback?: Callback ): Promise, getRepoSubscription( params: ActivityGetRepoSubscriptionParams, callback?: Callback ): Promise, getStargazersForRepo( params: ActivityGetStargazersForRepoParams, callback?: Callback ): Promise, getStarredRepos( params: ActivityGetStarredReposParams, callback?: Callback ): Promise, getStarredReposForUser( params: ActivityGetStarredReposForUserParams, callback?: Callback ): Promise, getWatchedRepos( params: ActivityGetWatchedReposParams, callback?: Callback ): Promise, getWatchedReposForUser( params: ActivityGetWatchedReposForUserParams, callback?: Callback ): Promise, getWatchersForRepo( params: ActivityGetWatchersForRepoParams, callback?: Callback ): Promise, markNotificationThreadAsRead( params: ActivityMarkNotificationThreadAsReadParams, callback?: Callback ): Promise, markNotificationsAsRead( params: ActivityMarkNotificationsAsReadParams, callback?: Callback ): Promise, markNotificationsAsReadForRepo( params: ActivityMarkNotificationsAsReadForRepoParams, callback?: Callback ): Promise, setNotificationThreadSubscription( params: ActivitySetNotificationThreadSubscriptionParams, callback?: Callback ): Promise, setRepoSubscription( params: ActivitySetRepoSubscriptionParams, callback?: Callback ): Promise, starRepo( params: ActivityStarRepoParams, callback?: Callback ): Promise, unstarRepo( params: ActivityUnstarRepoParams, callback?: Callback ): Promise, unwatchRepo( params: ActivityUnwatchRepoParams, callback?: Callback ): Promise }; apps: { addRepoToInstallation( params: AppsAddRepoToInstallationParams, callback?: Callback ): Promise, checkMarketplaceListingAccount( params: AppsCheckMarketplaceListingAccountParams, callback?: Callback ): Promise, checkMarketplaceListingStubbedAccount( params: AppsCheckMarketplaceListingStubbedAccountParams, 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, get(params: EmptyParams, callback?: Callback): Promise, getForSlug( params: AppsGetForSlugParams, callback?: Callback ): Promise, getInstallation( params: AppsGetInstallationParams, callback?: Callback ): Promise, getInstallationRepositories( params: AppsGetInstallationRepositoriesParams, callback?: Callback ): Promise, getInstallations( params: AppsGetInstallationsParams, callback?: Callback ): Promise, getMarketplaceListingPlanAccounts( params: AppsGetMarketplaceListingPlanAccountsParams, callback?: Callback ): Promise, getMarketplaceListingPlans( params: AppsGetMarketplaceListingPlansParams, callback?: Callback ): Promise, getMarketplaceListingStubbedPlanAccounts( params: AppsGetMarketplaceListingStubbedPlanAccountsParams, callback?: Callback ): Promise, getMarketplaceListingStubbedPlans( params: AppsGetMarketplaceListingStubbedPlansParams, callback?: Callback ): Promise, removeRepoFromInstallation( params: AppsRemoveRepoFromInstallationParams, callback?: Callback ): Promise }; authorization: { check( params: AuthorizationCheckParams, callback?: Callback ): Promise, create( params: AuthorizationCreateParams, callback?: Callback ): Promise, delete( params: AuthorizationDeleteParams, callback?: Callback ): Promise, deleteGrant( params: AuthorizationDeleteGrantParams, callback?: Callback ): Promise, get(params: AuthorizationGetParams, callback?: Callback): Promise, getAll( params: AuthorizationGetAllParams, callback?: Callback ): Promise, getGrant( params: AuthorizationGetGrantParams, callback?: Callback ): Promise, getGrants( params: AuthorizationGetGrantsParams, callback?: Callback ): Promise, getOrCreateAuthorizationForApp( params: AuthorizationGetOrCreateAuthorizationForAppParams, callback?: Callback ): Promise, getOrCreateAuthorizationForAppAndFingerprint( params: AuthorizationGetOrCreateAuthorizationForAppAndFingerprintParams, callback?: Callback ): Promise, reset( params: AuthorizationResetParams, callback?: Callback ): Promise, revoke( params: AuthorizationRevokeParams, callback?: Callback ): Promise, revokeGrant( params: AuthorizationRevokeGrantParams, callback?: Callback ): Promise, update( params: AuthorizationUpdateParams, 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 }; gists: { checkStar( params: GistsCheckStarParams, 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, edit(params: GistsEditParams, callback?: Callback): Promise, editComment( params: GistsEditCommentParams, callback?: Callback ): Promise, fork(params: GistsForkParams, callback?: Callback): Promise, get(params: GistsGetParams, callback?: Callback): Promise, getAll(params: GistsGetAllParams, callback?: Callback): Promise, getComment( params: GistsGetCommentParams, callback?: Callback ): Promise, getComments( params: GistsGetCommentsParams, callback?: Callback ): Promise, getCommits( params: GistsGetCommitsParams, callback?: Callback ): Promise, getForUser( params: GistsGetForUserParams, callback?: Callback ): Promise, getForks(params: GistsGetForksParams, callback?: Callback): Promise, getPublic( params: GistsGetPublicParams, callback?: Callback ): Promise, getRevision( params: GistsGetRevisionParams, callback?: Callback ): Promise, getStarred( params: GistsGetStarredParams, callback?: Callback ): Promise, star(params: GistsStarParams, callback?: Callback): Promise, unstar(params: GistsUnstarParams, callback?: Callback): Promise }; gitdata: { createBlob( params: GitdataCreateBlobParams, callback?: Callback ): Promise, createCommit( params: GitdataCreateCommitParams, callback?: Callback ): Promise, createReference( params: GitdataCreateReferenceParams, callback?: Callback ): Promise, createTag( params: GitdataCreateTagParams, callback?: Callback ): Promise, createTree( params: GitdataCreateTreeParams, callback?: Callback ): Promise, deleteReference( params: GitdataDeleteReferenceParams, callback?: Callback ): Promise, getBlob(params: GitdataGetBlobParams, callback?: Callback): Promise, getCommit( params: GitdataGetCommitParams, callback?: Callback ): Promise, getCommitSignatureVerification( params: GitdataGetCommitSignatureVerificationParams, callback?: Callback ): Promise, getReference( params: GitdataGetReferenceParams, callback?: Callback ): Promise, getTag(params: GitdataGetTagParams, callback?: Callback): Promise, getTagSignatureVerification( params: GitdataGetTagSignatureVerificationParams, callback?: Callback ): Promise, getTree(params: GitdataGetTreeParams, callback?: Callback): Promise, updateReference( params: GitdataUpdateReferenceParams, callback?: Callback ): Promise }; issues: { addAssigneesToIssue( params: IssuesAddAssigneesToIssueParams, 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, edit(params: IssuesEditParams, callback?: Callback): Promise, editComment( params: IssuesEditCommentParams, callback?: Callback ): Promise, get(params: IssuesGetParams, callback?: Callback): Promise, getAll(params: IssuesGetAllParams, callback?: Callback): Promise, getAssignees( params: IssuesGetAssigneesParams, callback?: Callback ): Promise, getComment( params: IssuesGetCommentParams, callback?: Callback ): Promise, getComments( params: IssuesGetCommentsParams, callback?: Callback ): Promise, getCommentsForRepo( params: IssuesGetCommentsForRepoParams, callback?: Callback ): Promise, getEvent(params: IssuesGetEventParams, callback?: Callback): Promise, getEvents( params: IssuesGetEventsParams, callback?: Callback ): Promise, getEventsForRepo( params: IssuesGetEventsForRepoParams, callback?: Callback ): Promise, getEventsTimeline( params: IssuesGetEventsTimelineParams, callback?: Callback ): Promise, getForOrg( params: IssuesGetForOrgParams, callback?: Callback ): Promise, getForRepo( params: IssuesGetForRepoParams, callback?: Callback ): Promise, getForUser( params: IssuesGetForUserParams, callback?: Callback ): Promise, getIssueLabels( params: IssuesGetIssueLabelsParams, callback?: Callback ): Promise, getLabel(params: IssuesGetLabelParams, callback?: Callback): Promise, getLabels( params: IssuesGetLabelsParams, callback?: Callback ): Promise, getMilestone( params: IssuesGetMilestoneParams, callback?: Callback ): Promise, getMilestoneLabels( params: IssuesGetMilestoneLabelsParams, callback?: Callback ): Promise, getMilestones( params: IssuesGetMilestonesParams, callback?: Callback ): Promise, lock(params: IssuesLockParams, callback?: Callback): Promise, removeAllLabels( params: IssuesRemoveAllLabelsParams, callback?: Callback ): Promise, removeAssigneesFromIssue( params: IssuesRemoveAssigneesFromIssueParams, callback?: Callback ): Promise, removeLabel( params: IssuesRemoveLabelParams, callback?: Callback ): Promise, replaceAllLabels( params: IssuesReplaceAllLabelsParams, callback?: Callback ): Promise, unlock(params: IssuesUnlockParams, callback?: Callback): Promise, updateLabel( params: IssuesUpdateLabelParams, callback?: Callback ): Promise, updateMilestone( params: IssuesUpdateMilestoneParams, callback?: Callback ): Promise }; migrations: { cancelImport( params: MigrationsCancelImportParams, callback?: Callback ): Promise, deleteArchiveForAuthenticatedUser( params: MigrationsDeleteArchiveForAuthenticatedUserParams, callback?: Callback ): Promise, deleteMigrationArchive( params: MigrationsDeleteMigrationArchiveParams, callback?: Callback ): Promise, getArchiveForAuthenticatedUser( params: MigrationsGetArchiveForAuthenticatedUserParams, callback?: Callback ): Promise, getImportCommitAuthors( params: MigrationsGetImportCommitAuthorsParams, callback?: Callback ): Promise, getImportProgress( params: MigrationsGetImportProgressParams, callback?: Callback ): Promise, getLargeImportFiles( params: MigrationsGetLargeImportFilesParams, callback?: Callback ): Promise, getMigrationArchiveLink( params: MigrationsGetMigrationArchiveLinkParams, callback?: Callback ): Promise, getMigrationStatus( params: MigrationsGetMigrationStatusParams, callback?: Callback ): Promise, getMigrations( params: MigrationsGetMigrationsParams, callback?: Callback ): Promise, getStatusForAuthenticatedUser( params: MigrationsGetStatusForAuthenticatedUserParams, callback?: Callback ): Promise, listForAuthenticatedUser( params: MigrationsListForAuthenticatedUserParams, callback?: Callback ): Promise, mapImportCommitAuthor( params: MigrationsMapImportCommitAuthorParams, callback?: Callback ): Promise, setImportLfsPreference( params: MigrationsSetImportLfsPreferenceParams, callback?: Callback ): Promise, startForAuthenticatedUser( params: MigrationsStartForAuthenticatedUserParams, callback?: Callback ): Promise, startImport( params: MigrationsStartImportParams, callback?: Callback ): Promise, startMigration( params: MigrationsStartMigrationParams, callback?: Callback ): Promise, unlockRepoForAuthenticatedUser( params: MigrationsUnlockRepoForAuthenticatedUserParams, callback?: Callback ): Promise, unlockRepoLockedForMigration( params: MigrationsUnlockRepoLockedForMigrationParams, callback?: Callback ): Promise, updateImport( params: MigrationsUpdateImportParams, callback?: Callback ): Promise }; misc: { getCodeOfConduct( params: MiscGetCodeOfConductParams, callback?: Callback ): Promise, getCodesOfConduct(params: EmptyParams, callback?: Callback): Promise, getGitignoreTemplate( params: MiscGetGitignoreTemplateParams, callback?: Callback ): Promise, getGitignoreTemplates( params: EmptyParams, callback?: Callback ): Promise, getLicense( params: MiscGetLicenseParams, callback?: Callback ): Promise, getLicenses(params: EmptyParams, callback?: Callback): Promise, getRateLimit(params: EmptyParams, callback?: Callback): Promise, getRepoCodeOfConduct( params: MiscGetRepoCodeOfConductParams, callback?: Callback ): Promise, getRepoLicense( params: MiscGetRepoLicenseParams, callback?: Callback ): Promise, renderMarkdown( params: MiscRenderMarkdownParams, callback?: Callback ): Promise, renderMarkdownRaw( params: MiscRenderMarkdownRawParams, callback?: Callback ): Promise }; orgs: { addOrgMembership( params: OrgsAddOrgMembershipParams, callback?: Callback ): Promise, addTeamMembership( params: OrgsAddTeamMembershipParams, callback?: Callback ): Promise, addTeamRepo( params: OrgsAddTeamRepoParams, 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, checkTeamRepo( params: OrgsCheckTeamRepoParams, 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, createTeam( params: OrgsCreateTeamParams, callback?: Callback ): Promise, deleteHook( params: OrgsDeleteHookParams, callback?: Callback ): Promise, deleteTeam( params: OrgsDeleteTeamParams, callback?: Callback ): Promise, deleteTeamRepo( params: OrgsDeleteTeamRepoParams, callback?: Callback ): Promise, editHook(params: OrgsEditHookParams, callback?: Callback): Promise, editTeam(params: OrgsEditTeamParams, callback?: Callback): Promise, get(params: OrgsGetParams, callback?: Callback): Promise, getAll(params: OrgsGetAllParams, callback?: Callback): Promise, getBlockedUsers( params: OrgsGetBlockedUsersParams, callback?: Callback ): Promise, getChildTeams( params: OrgsGetChildTeamsParams, callback?: Callback ): Promise, getForUser( params: OrgsGetForUserParams, callback?: Callback ): Promise, getHook(params: OrgsGetHookParams, callback?: Callback): Promise, getHooks(params: OrgsGetHooksParams, callback?: Callback): Promise, getInvitationTeams( params: OrgsGetInvitationTeamsParams, callback?: Callback ): Promise, getMembers( params: OrgsGetMembersParams, callback?: Callback ): Promise, getOrgMembership( params: OrgsGetOrgMembershipParams, callback?: Callback ): Promise, getOutsideCollaborators( params: OrgsGetOutsideCollaboratorsParams, callback?: Callback ): Promise, getPendingOrgInvites( params: OrgsGetPendingOrgInvitesParams, callback?: Callback ): Promise, getPendingTeamInvites( params: OrgsGetPendingTeamInvitesParams, callback?: Callback ): Promise, getPublicMembers( params: OrgsGetPublicMembersParams, callback?: Callback ): Promise, getTeam(params: OrgsGetTeamParams, callback?: Callback): Promise, getTeamMembers( params: OrgsGetTeamMembersParams, callback?: Callback ): Promise, getTeamMembership( params: OrgsGetTeamMembershipParams, callback?: Callback ): Promise, getTeamRepos( params: OrgsGetTeamReposParams, callback?: Callback ): Promise, getTeams(params: OrgsGetTeamsParams, callback?: Callback): Promise, pingHook(params: OrgsPingHookParams, callback?: Callback): Promise, publicizeMembership( params: OrgsPublicizeMembershipParams, callback?: Callback ): Promise, removeMember( params: OrgsRemoveMemberParams, callback?: Callback ): Promise, removeOrgMembership( params: OrgsRemoveOrgMembershipParams, callback?: Callback ): Promise, removeOutsideCollaborator( params: OrgsRemoveOutsideCollaboratorParams, callback?: Callback ): Promise, removeTeamMembership( params: OrgsRemoveTeamMembershipParams, callback?: Callback ): Promise, unblockUser( params: OrgsUnblockUserParams, callback?: Callback ): Promise, update(params: OrgsUpdateParams, callback?: Callback): Promise }; projects: { addCollaborator( params: ProjectsAddCollaboratorParams, callback?: Callback ): Promise, createOrgProject( params: ProjectsCreateOrgProjectParams, callback?: Callback ): Promise, createProjectCard( params: ProjectsCreateProjectCardParams, callback?: Callback ): Promise, createProjectColumn( params: ProjectsCreateProjectColumnParams, callback?: Callback ): Promise, createRepoProject( params: ProjectsCreateRepoProjectParams, callback?: Callback ): Promise, deleteProject( params: ProjectsDeleteProjectParams, callback?: Callback ): Promise, deleteProjectCard( params: ProjectsDeleteProjectCardParams, callback?: Callback ): Promise, deleteProjectColumn( params: ProjectsDeleteProjectColumnParams, callback?: Callback ): Promise, getCollaborators( params: ProjectsGetCollaboratorsParams, callback?: Callback ): Promise, getOrgProjects( params: ProjectsGetOrgProjectsParams, callback?: Callback ): Promise, getProject( params: ProjectsGetProjectParams, callback?: Callback ): Promise, getProjectCard( params: ProjectsGetProjectCardParams, callback?: Callback ): Promise, getProjectCards( params: ProjectsGetProjectCardsParams, callback?: Callback ): Promise, getProjectColumn( params: ProjectsGetProjectColumnParams, callback?: Callback ): Promise, getProjectColumns( params: ProjectsGetProjectColumnsParams, callback?: Callback ): Promise, getRepoProjects( params: ProjectsGetRepoProjectsParams, callback?: Callback ): Promise, getUserPermissionLevel( params: ProjectsGetUserPermissionLevelParams, callback?: Callback ): Promise, moveProjectCard( params: ProjectsMoveProjectCardParams, callback?: Callback ): Promise, moveProjectColumn( params: ProjectsMoveProjectColumnParams, callback?: Callback ): Promise, removeCollaborator( params: ProjectsRemoveCollaboratorParams, callback?: Callback ): Promise, updateProject( params: ProjectsUpdateProjectParams, callback?: Callback ): Promise, updateProjectCard( params: ProjectsUpdateProjectCardParams, callback?: Callback ): Promise, updateProjectColumn( params: ProjectsUpdateProjectColumnParams, callback?: Callback ): Promise }; pullRequests: { checkMerged( params: PullRequestsCheckMergedParams, 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, editComment( params: PullRequestsEditCommentParams, callback?: Callback ): Promise, get(params: PullRequestsGetParams, callback?: Callback): Promise, getAll( params: PullRequestsGetAllParams, callback?: Callback ): Promise, getComment( params: PullRequestsGetCommentParams, callback?: Callback ): Promise, getComments( params: PullRequestsGetCommentsParams, callback?: Callback ): Promise, getCommentsForRepo( params: PullRequestsGetCommentsForRepoParams, callback?: Callback ): Promise, getCommits( params: PullRequestsGetCommitsParams, callback?: Callback ): Promise, getFiles( params: PullRequestsGetFilesParams, callback?: Callback ): Promise, getReview( params: PullRequestsGetReviewParams, callback?: Callback ): Promise, getReviewComments( params: PullRequestsGetReviewCommentsParams, callback?: Callback ): Promise, getReviewRequests( params: PullRequestsGetReviewRequestsParams, callback?: Callback ): Promise, getReviews( params: PullRequestsGetReviewsParams, callback?: Callback ): Promise, merge(params: PullRequestsMergeParams, callback?: Callback): Promise, submitReview( params: PullRequestsSubmitReviewParams, callback?: Callback ): Promise, update( params: PullRequestsUpdateParams, 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, getForCommitComment( params: ReactionsGetForCommitCommentParams, callback?: Callback ): Promise, getForIssue( params: ReactionsGetForIssueParams, callback?: Callback ): Promise, getForIssueComment( params: ReactionsGetForIssueCommentParams, callback?: Callback ): Promise, getForPullRequestReviewComment( params: ReactionsGetForPullRequestReviewCommentParams, callback?: Callback ): Promise, getForTeamDiscussion( params: ReactionsGetForTeamDiscussionParams, callback?: Callback ): Promise, getForTeamDiscussionComment( params: ReactionsGetForTeamDiscussionCommentParams, callback?: Callback ): Promise }; repos: { 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, create(params: ReposCreateParams, 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, createForOrg( params: ReposCreateForOrgParams, callback?: Callback ): Promise, createHook( params: ReposCreateHookParams, callback?: Callback ): Promise, createRelease( params: ReposCreateReleaseParams, callback?: Callback ): Promise, createStatus( params: ReposCreateStatusParams, callback?: Callback ): Promise, delete(params: ReposDeleteParams, callback?: Callback): Promise, deleteAsset( params: ReposDeleteAssetParams, callback?: Callback ): Promise, deleteCommitComment( params: ReposDeleteCommitCommentParams, callback?: Callback ): Promise, deleteDeployKey( params: ReposDeleteDeployKeyParams, callback?: Callback ): Promise, deleteDownload( params: ReposDeleteDownloadParams, callback?: Callback ): Promise, deleteFile( params: ReposDeleteFileParams, callback?: Callback ): Promise, deleteHook( params: ReposDeleteHookParams, callback?: Callback ): Promise, deleteInvite( params: ReposDeleteInviteParams, callback?: Callback ): Promise, deleteRelease( params: ReposDeleteReleaseParams, callback?: Callback ): Promise, edit(params: ReposEditParams, callback?: Callback): Promise, editAsset( params: ReposEditAssetParams, callback?: Callback ): Promise, editHook(params: ReposEditHookParams, callback?: Callback): Promise, editRelease( params: ReposEditReleaseParams, callback?: Callback ): Promise, fork(params: ReposForkParams, callback?: Callback): Promise, get(params: ReposGetParams, callback?: Callback): Promise, getAll(params: ReposGetAllParams, callback?: Callback): Promise, getAllCommitComments( params: ReposGetAllCommitCommentsParams, callback?: Callback ): Promise, getArchiveLink( params: ReposGetArchiveLinkParams, callback?: Callback ): Promise, getAsset(params: ReposGetAssetParams, callback?: Callback): Promise, getAssets( params: ReposGetAssetsParams, callback?: Callback ): Promise, getBranch( params: ReposGetBranchParams, callback?: Callback ): Promise, getBranchProtection( params: ReposGetBranchProtectionParams, callback?: Callback ): Promise, getBranches( params: ReposGetBranchesParams, callback?: Callback ): Promise, getClones( params: ReposGetClonesParams, callback?: Callback ): Promise, getCollaborators( params: ReposGetCollaboratorsParams, callback?: Callback ): Promise, getCombinedStatusForRef( params: ReposGetCombinedStatusForRefParams, callback?: Callback ): Promise, getCommit( params: ReposGetCommitParams, callback?: Callback ): Promise, getCommitComment( params: ReposGetCommitCommentParams, callback?: Callback ): Promise, getCommitComments( params: ReposGetCommitCommentsParams, callback?: Callback ): Promise, getCommits( params: ReposGetCommitsParams, callback?: Callback ): Promise, getCommunityProfileMetrics( params: ReposGetCommunityProfileMetricsParams, callback?: Callback ): Promise, getContent( params: ReposGetContentParams, callback?: Callback ): Promise, getContributors( params: ReposGetContributorsParams, callback?: Callback ): Promise, getDeployKey( params: ReposGetDeployKeyParams, callback?: Callback ): Promise, getDeployKeys( params: ReposGetDeployKeysParams, callback?: Callback ): Promise, getDeployment( params: ReposGetDeploymentParams, callback?: Callback ): Promise, getDeploymentStatus( params: ReposGetDeploymentStatusParams, callback?: Callback ): Promise, getDeploymentStatuses( params: ReposGetDeploymentStatusesParams, callback?: Callback ): Promise, getDeployments( params: ReposGetDeploymentsParams, callback?: Callback ): Promise, getDownload( params: ReposGetDownloadParams, callback?: Callback ): Promise, getDownloads( params: ReposGetDownloadsParams, callback?: Callback ): Promise, getForOrg( params: ReposGetForOrgParams, callback?: Callback ): Promise, getForUser( params: ReposGetForUserParams, callback?: Callback ): Promise, getForks(params: ReposGetForksParams, callback?: Callback): Promise, getHook(params: ReposGetHookParams, callback?: Callback): Promise, getHooks(params: ReposGetHooksParams, callback?: Callback): Promise, getInvites( params: ReposGetInvitesParams, callback?: Callback ): Promise, getLanguages( params: ReposGetLanguagesParams, 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, getPagesBuilds( params: ReposGetPagesBuildsParams, callback?: Callback ): Promise, getPaths(params: ReposGetPathsParams, 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, getProtectedBranchRequiredStatusChecksContexts( params: ReposGetProtectedBranchRequiredStatusChecksContextsParams, callback?: Callback ): Promise, getProtectedBranchRestrictions( params: ReposGetProtectedBranchRestrictionsParams, callback?: Callback ): Promise, getProtectedBranchTeamRestrictions( params: ReposGetProtectedBranchTeamRestrictionsParams, callback?: Callback ): Promise, getProtectedBranchUserRestrictions( params: ReposGetProtectedBranchUserRestrictionsParams, callback?: Callback ): Promise, getPublic( params: ReposGetPublicParams, callback?: Callback ): Promise, getReadme( params: ReposGetReadmeParams, callback?: Callback ): Promise, getReferrers( params: ReposGetReferrersParams, callback?: Callback ): Promise, getRelease( params: ReposGetReleaseParams, callback?: Callback ): Promise, getReleaseByTag( params: ReposGetReleaseByTagParams, callback?: Callback ): Promise, getReleases( params: ReposGetReleasesParams, callback?: Callback ): Promise, getShaOfCommitRef( params: ReposGetShaOfCommitRefParams, callback?: Callback ): Promise, getStatsCodeFrequency( params: ReposGetStatsCodeFrequencyParams, callback?: Callback ): Promise, getStatsCommitActivity( params: ReposGetStatsCommitActivityParams, callback?: Callback ): Promise, getStatsContributors( params: ReposGetStatsContributorsParams, callback?: Callback ): Promise, getStatsParticipation( params: ReposGetStatsParticipationParams, callback?: Callback ): Promise, getStatsPunchCard( params: ReposGetStatsPunchCardParams, callback?: Callback ): Promise, getStatuses( params: ReposGetStatusesParams, callback?: Callback ): Promise, getTags(params: ReposGetTagsParams, callback?: Callback): Promise, getTeams(params: ReposGetTeamsParams, callback?: Callback): Promise, getTopics( params: ReposGetTopicsParams, callback?: Callback ): Promise, getViews(params: ReposGetViewsParams, 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, 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, reviewUserPermissionLevel( params: ReposReviewUserPermissionLevelParams, callback?: Callback ): Promise, testHook(params: ReposTestHookParams, callback?: Callback): Promise, transfer(params: ReposTransferParams, callback?: Callback): Promise, updateBranchProtection( params: ReposUpdateBranchProtectionParams, callback?: Callback ): Promise, updateCommitComment( params: ReposUpdateCommitCommentParams, callback?: Callback ): Promise, updateFile( params: ReposUpdateFileParams, callback?: Callback ): Promise, updateInvite( params: ReposUpdateInviteParams, callback?: Callback ): Promise, updateProtectedBranchPullRequestReviewEnforcement( params: ReposUpdateProtectedBranchPullRequestReviewEnforcementParams, callback?: Callback ): Promise, updateProtectedBranchRequiredStatusChecks( params: ReposUpdateProtectedBranchRequiredStatusChecksParams, callback?: Callback ): Promise, uploadAsset( params: ReposUploadAssetParams, 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 }; users: { acceptRepoInvite( params: UsersAcceptRepoInviteParams, callback?: Callback ): Promise, addEmails( params: UsersAddEmailsParams, callback?: Callback ): Promise, addRepoToInstallation( params: UsersAddRepoToInstallationParams, callback?: Callback ): Promise, blockUser( params: UsersBlockUserParams, callback?: Callback ): Promise, checkBlockedUser( params: UsersCheckBlockedUserParams, callback?: Callback ): Promise, checkFollowing( params: UsersCheckFollowingParams, callback?: Callback ): Promise, checkIfOneFollowersOther( params: UsersCheckIfOneFollowersOtherParams, callback?: Callback ): Promise, createGpgKey( params: UsersCreateGpgKeyParams, callback?: Callback ): Promise, createKey( params: UsersCreateKeyParams, callback?: Callback ): Promise, declineRepoInvite( params: UsersDeclineRepoInviteParams, callback?: Callback ): Promise, deleteEmails( params: UsersDeleteEmailsParams, callback?: Callback ): Promise, deleteGpgKey( params: UsersDeleteGpgKeyParams, callback?: Callback ): Promise, deleteKey( params: UsersDeleteKeyParams, callback?: Callback ): Promise, editOrgMembership( params: UsersEditOrgMembershipParams, callback?: Callback ): Promise, followUser( params: UsersFollowUserParams, callback?: Callback ): Promise, get(params: EmptyParams, callback?: Callback): Promise, getAll(params: UsersGetAllParams, callback?: Callback): Promise, getBlockedUsers(params: EmptyParams, callback?: Callback): Promise, getContextForUser( params: UsersGetContextForUserParams, callback?: Callback ): Promise, getEmails( params: UsersGetEmailsParams, callback?: Callback ): Promise, getFollowers( params: UsersGetFollowersParams, callback?: Callback ): Promise, getFollowersForUser( params: UsersGetFollowersForUserParams, callback?: Callback ): Promise, getFollowing( params: UsersGetFollowingParams, callback?: Callback ): Promise, getFollowingForUser( params: UsersGetFollowingForUserParams, callback?: Callback ): Promise, getForUser( params: UsersGetForUserParams, callback?: Callback ): Promise, getGpgKey( params: UsersGetGpgKeyParams, callback?: Callback ): Promise, getGpgKeys( params: UsersGetGpgKeysParams, callback?: Callback ): Promise, getGpgKeysForUser( params: UsersGetGpgKeysForUserParams, callback?: Callback ): Promise, getInstallationRepos( params: UsersGetInstallationReposParams, callback?: Callback ): Promise, getInstallations( params: UsersGetInstallationsParams, callback?: Callback ): Promise, getKey(params: UsersGetKeyParams, callback?: Callback): Promise, getKeys(params: UsersGetKeysParams, callback?: Callback): Promise, getKeysForUser( params: UsersGetKeysForUserParams, callback?: Callback ): Promise, getMarketplacePurchases( params: UsersGetMarketplacePurchasesParams, callback?: Callback ): Promise, getMarketplaceStubbedPurchases( params: UsersGetMarketplaceStubbedPurchasesParams, callback?: Callback ): Promise, getOrgMembership( params: UsersGetOrgMembershipParams, callback?: Callback ): Promise, getOrgMemberships( params: UsersGetOrgMembershipsParams, callback?: Callback ): Promise, getOrgs(params: UsersGetOrgsParams, callback?: Callback): Promise, getPublicEmails( params: UsersGetPublicEmailsParams, callback?: Callback ): Promise, getRepoInvites( params: UsersGetRepoInvitesParams, callback?: Callback ): Promise, getTeams(params: UsersGetTeamsParams, callback?: Callback): Promise, removeRepoFromInstallation( params: UsersRemoveRepoFromInstallationParams, callback?: Callback ): Promise, togglePrimaryEmailVisibility( params: UsersTogglePrimaryEmailVisibilityParams, callback?: Callback ): Promise, unblockUser( params: UsersUnblockUserParams, callback?: Callback ): Promise, unfollowUser( params: UsersUnfollowUserParams, callback?: Callback ): Promise, update(params: UsersUpdateParams, callback?: Callback): Promise }; } declare var exports: Class; }