/**
 * Parallel task running in child session
 * MERGED: Contains both core and shared fields
 */
import type { ParallelTaskStatus } from "../types/index.js";
import type { TaskProgress } from "./task-progress.js";
import type { Poolable } from "../../../core/pool/object-pool.js";
export interface ParallelTask extends Poolable {
    id: string;
    sessionID: string;
    parentSessionID: string;
    description: string;
    prompt: string;
    agent: string;
    status: ParallelTaskStatus;
    startedAt: Date;
    completedAt?: Date;
    error?: string;
    result?: string;
    concurrencyKey?: string;
    depth: number;
    mode?: "normal" | "race" | "fractal";
    groupID?: string;
    lastMsgCount?: number;
    stablePolls?: number;
    progress?: TaskProgress;
    hasStartedOutputting?: boolean;
}
