import type { ParallelRunnerMetrics, ParallelRunnerOptions, Task, TaskResult } from './types'; export declare class ParallelRunnerTimeoutError extends Error { readonly taskId: string; readonly timeoutMs: number; constructor(taskId: string, timeoutMs: number); } export declare class ParallelRunner { private readonly defaults; private metrics; constructor(defaults?: ParallelRunnerOptions); run(tasks: Task[], options?: ParallelRunnerOptions): Promise[]>; getMetrics(): ParallelRunnerMetrics; private mergeOptions; private mergeCallbacks; }