1 | import { SimpleGitFactory } from '../../typings';
|
2 | import * as api from './api';
|
3 | import { SimpleGitOptions } from './types';
|
4 | /**
|
5 | * Adds the necessary properties to the supplied object to enable it for use as
|
6 | * the default export of a module.
|
7 | *
|
8 | * Eg: `module.exports = esModuleFactory({ something () {} })`
|
9 | */
|
10 | export declare function esModuleFactory<T>(defaultExport: T): T & {
|
11 | __esModule: true;
|
12 | default: T;
|
13 | };
|
14 | export declare function gitExportFactory(factory: SimpleGitFactory): SimpleGitFactory & typeof api;
|
15 | export declare function gitInstanceFactory(baseDir?: string | Partial<SimpleGitOptions>, options?: Partial<SimpleGitOptions>): any;
|