import { GithubBranch, GithubRepo, IClient, IPaginator, ResourceClientLoad, ResourceClientRequestModifiers, Response, TokenPaginatorState, User } from '../definitions'; import { ResourceClient } from './http'; export interface UserClientDeps { readonly client: IClient; readonly token: string; } export declare class UserClient extends ResourceClient implements ResourceClientLoad { protected client: IClient; protected token: string; constructor({client, token}: UserClientDeps); load(id: number, modifiers?: ResourceClientRequestModifiers): Promise; loadSelf(): Promise; oAuthGithubLogin(id: number): Promise; paginateGithubRepositories(id: number): IPaginator, TokenPaginatorState>; paginateGithubBranches(userId: number, repoId: number): IPaginator, TokenPaginatorState>; }