mono/packages/mail/lib/process/index.d.ts
2026-01-28 12:04:54 +01:00

19 lines
566 B
TypeScript

export declare enum STATUS {
OK = 0,
ERROR = 1,
PENDING = 2
}
export declare class Process {
binary: string;
cwd: string;
args: string;
constructor(options?: any);
optionsToString(options: any): string;
optionsToArray(options: any): string[];
exec(command: string, options?: any, args?: any[]): Promise<any>;
}
export declare class Helper {
static run(cwd: any, command: string, gitArgs: string[]): Promise<any>;
static runBin(cwd: any, bin: any, command: string, gitArgs: string[]): Promise<any>;
}