/* tslint:disable:max-classes-per-file variable-name */ declare module "nodegit" { export class Blob { public content(): Buffer; } export class Commit { // getTree(callback: (err: any, treeContent?: Tree) => void): Promise; public getTree(): Promise; } export class Remote { public static create(repo: Repository, name: string, url: string): Promise; public fetch(refSpecs: string[]): Promise; } export class Repository { public static init(path: string, is_bare: number): Promise; public getCommit(oid: string): Promise; public free(): void; } export class Tree { public entries(): TreeEntry[]; } export class TreeEntry { public getBlob(callback: (err: any, blob?: Blob) => void): Promise; public getTree(callback: (err: any, treeContent?: Tree) => void): Promise; public isFile(): boolean; public isTree(): boolean; public name(): string; } }