import { type Options as ExecaOptions, type ResultPromise, type SyncOptions, type SyncResult } from 'execa'; import type { BaseGenerator } from '../generator.js'; export declare class SpawnCommandMixin { /** * Normalize a command across OS and spawn it (asynchronously). * * @param command program to execute * @param opt execa options options * @see https://github.com/sindresorhus/execa#execacommandcommand-options */ spawnCommand(this: BaseGenerator, command: string, opt?: OptionsType): ResultPromise; /** * Normalize a command across OS and spawn it (asynchronously). * * @param command program to execute * @param args list of arguments to pass to the program * @param opt execa options options * @see https://github.com/sindresorhus/execa#execafile-arguments-options */ spawn(this: BaseGenerator, command: string, args?: readonly string[], opt?: OptionsType): ResultPromise; /** * Normalize a command across OS and spawn it (synchronously). * * @param command program to execute * @param opt execa options options * @see https://github.com/sindresorhus/execa#execacommandsynccommand-options */ spawnCommandSync(this: BaseGenerator, command: string, opt?: OptionsType): SyncResult; /** * Normalize a command across OS and spawn it (synchronously). * * @param command program to execute * @param args list of arguments to pass to the program * @param opt execa options options * @see https://github.com/sindresorhus/execa#execafile-arguments-options */ spawnSync(this: BaseGenerator, command: string, args?: readonly string[], opt?: OptionsType): SyncResult; }