import type { Oauth2Options, Target } from './github.interface'; import type { Credentials } from "../../common"; export declare namespace GithubSDK { const isSuccess: (data: unknown, statusCode: number) => data is T; const getOauthUri: (options: Oauth2Options) => string; const getCredentials: (options: Oauth2Options, code: string) => Promise; const query: (target: Target, token: string) => Promise>; }