import { GithubCommitType, GithubRepoResponse, GithubRepositoryBranch, GithubRepositoryOwner } from "@/constants/types/github.js"; import { IUser } from "@/models/User.js"; export interface IGithubService { getUserInfo(userId: string): Promise; createGithubAccessToken(): string; createOrGetInstallationAcsTokn(installationId: number, token?: string): Promise; getUserRepos(userId: string): Promise; getUserRepo(userId: string, owner: string, repo: string): Promise; getUserRepoBranches(userId: string, owner: string, repo: string): Promise; getUserAccountData(userId: string): Promise; }