import type { Logger } from '@b64hub/sfpm-core'; import type { ScriptResult } from './types.js'; export declare const DEFAULT_TIMEOUT = 300000; /** * Merge process.env with context-derived and per-script custom variables. */ export declare function buildScriptEnv(env: { custom?: Record; packageName?: string; projectDir?: string; stagingDirectory?: string; targetOrg?: string; }): Record; /** * Spawn a child process and collect output. */ export declare function spawnScript(command: string, args: string[], options: { cwd: string; env: Record; timeout: number; }, logger?: Logger): Promise;