2023-07-25 01:39:51 -08:00
|
|
|
declare module 'php-escape-shell' {
|
|
|
|
|
export function php_escapeshellcmd(path: string): string;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-18 07:28:28 -09:00
|
|
|
declare module 'git-describe' {
|
|
|
|
|
export function gitDescribe(...args: any[]): void;
|
|
|
|
|
}
|
2020-01-02 05:44:11 -09:00
|
|
|
|
|
|
|
|
declare module 'default-shell' {
|
|
|
|
|
const val: string;
|
|
|
|
|
export default val;
|
|
|
|
|
}
|
2023-02-20 22:28:27 -09:00
|
|
|
|
|
|
|
|
declare module 'sudo-prompt' {
|
|
|
|
|
export function exec(
|
|
|
|
|
cmd: string,
|
|
|
|
|
options: {name?: string; icns?: string; env?: {[key: string]: string}},
|
|
|
|
|
callback: (error?: Error, stdout?: string | Buffer, stderr?: string | Buffer) => void
|
|
|
|
|
): void;
|
|
|
|
|
}
|