export interface Remote { name: string; url: string; type: 'github' | 'ngit' | 'other'; } export interface Commit { hash: string; message: string; age: string; } export interface PushResult { remote: string; type: Remote['type']; ok: boolean; detail?: string; } export declare function getRemotes(): Remote[]; export declare function isNgitConfigured(): boolean; export declare function getUnpushedCommits(remoteName?: string): Commit[]; export declare function getCurrentBranch(): string; export declare function isGitRepo(): boolean; export declare function pushToRemote(remote: Remote, branch: string): Promise;