import { type ChildProcess, type SpawnOptions } from "node:child_process";
/** Windows CREATE_NO_WINDOW — subprocess must not allocate a visible console. */
export declare const WINDOWS_CREATE_NO_WINDOW = 134217728;
/**
 * Spawn a background child without flashing an empty cmd.exe on Windows.
 *
 * On Windows, `detached: true` allocates a new console even with windowsHide.
 * Use CREATE_NO_WINDOW and `unref()` instead of detached.
 */
export declare function spawnHidden(command: string, args: string[], options?: Omit<SpawnOptions, "windowsHide" | "stdio"> & {
    stdio?: SpawnOptions["stdio"];
}): ChildProcess;
