import type { Logger } from '@b64hub/sfpm-core'; import type { ScriptDefinition, ScriptExecutionContext, ScriptResult, ScriptType } from './types.js'; /** * Resolves the appropriate {@link ScriptExecutor} for a given script type * and delegates execution. * * Supported runtimes: * - **shell** — platform shell (`sh -e` on Unix, `cmd.exe /c` on Windows) * - **typescript** — `npx tsx` * - **javascript** — `node` * - **apex** — `sf apex run --file` (requires a target org) * - **npm** — `npm run ` */ export declare class ScriptRunner { private readonly logger?; private readonly executors; constructor(logger?: Logger | undefined); /** * Run a single script by delegating to the executor for the given type. */ run(script: ScriptDefinition, type: ScriptType, context: ScriptExecutionContext): Promise; }