/** * Result aggregation utilities for headless executor */ import type { ExecutionResult, StreamMessage } from './types'; /** * Build execution result from stream messages * @param params - Parameters for building result * @returns ExecutionResult with all fields populated */ export declare function buildExecutionResult(params: { exitCode: number; stdout: string; stderr: string; cwd: string; profile: string; duration: number; timedOut: boolean; messages: StreamMessage[]; }): ExecutionResult; /** * Extract session info from result for session management * @param result - Execution result * @returns Session info or null */ export declare function extractSessionInfo(result: ExecutionResult): { sessionId: string; totalCost?: number; cwd: string; } | null; //# sourceMappingURL=result-aggregator.d.ts.map