import { a as DaemonRequest, o as DaemonResponse } from "./sdk-contracts.js"; //#region src/core/batch.d.ts type DaemonBatchStep = { command: string; positionals?: string[]; flags?: Record; runtime?: DaemonRequest['runtime']; }; type BatchFlags = Record & { batchOnError?: 'stop'; batchMaxSteps?: number; batchSteps?: DaemonBatchStep[]; }; type BatchRequest = Omit & { flags?: BatchFlags | Record; }; type BatchInvoke = (req: BatchRequest) => Promise; type BatchStepResult = { step: number; command: string; ok: true; data: Record; durationMs: number; }; type BatchRunResult = Record & { total: number; executed: number; totalDurationMs: number; results: BatchStepResult[]; }; type BatchRunResponse = { ok: true; data: BatchRunResult; } | Extract; declare function runBatch(req: BatchRequest, sessionName: string, invoke: BatchInvoke): Promise; //#endregion export { runBatch as n, BatchRunResult as t };