declare module 'execa' { interface ExecaChildProcess extends Promise { stdout: string | Buffer; stderr: string | Buffer; // Additional properties like kill(), etc. } interface ExecaOptions { stdio?: 'pipe' | 'inherit' | 'ignore' | Array; [key: string]: any; } interface ExecaResult { stdout: string; stderr: string; exitCode: number; } function execa(command: string, args?: string[], options?: ExecaOptions): ExecaChildProcess; export { execa, ExecaChildProcess, ExecaOptions, ExecaResult }; }