import { type SpawnSyncReturns } from 'node:child_process'; export type ScriptSpawn = (command: string, args: readonly string[], options: { stdio: 'inherit'; }) => Pick, 'error' | 'status'>; export declare function runScript(command: string, scriptPath: string, args: readonly string[], spawn?: ScriptSpawn): number;