AI_botter/node_modules/simple-git/dist/src/lib/simple-git-api.d.ts
2024-05-26 09:51:40 -04:00

20 lines
773 B
TypeScript

import { SimpleGitBase } from '../../typings';
import { outputHandler, SimpleGitExecutor, SimpleGitTask, SimpleGitTaskCallback } from './types';
export declare class SimpleGitApi implements SimpleGitBase {
private _executor;
constructor(_executor: SimpleGitExecutor);
protected _runTask<T>(task: SimpleGitTask<T>, then?: SimpleGitTaskCallback<T>): any;
add(files: string | string[]): any;
cwd(directory: string | {
path: string;
root?: boolean;
}): any;
hashObject(path: string, write: boolean | unknown): any;
init(bare?: boolean | unknown): any;
merge(): any;
mergeFromTo(remote: string, branch: string): any;
outputHandler(handler: outputHandler): this;
push(): any;
stash(): any;
status(): any;
}