import type { SpawnOptions } from 'child_process';
/**
 * This code is adapted from `nano-spawn`.
 * Source: https://github.com/sindresorhus/nano-spawn
 *
 * It includes logic to ensure proper command execution across platforms,
 * particularly handling shell requirements on Windows.
 *
 * If updating, consider checking for upstream changes in `nano-spawn`.
 */
export declare const applyForceShell: <Options extends SpawnOptions>(file: string, commandArguments: readonly string[], options: Options) => Promise<[string, readonly string[], Options]>;
