import { BaseRunner, RunParams, RunResult } from "./BaseRunner.js"; type RunnerPoolThread = { runner: BaseRunner; job: Promise | undefined; }; export declare class RunnerPool { private makeRunner; maxThreads: number; threads: RunnerPoolThread[]; constructor(params: { makeRunner: () => BaseRunner; maxThreads?: number; }); run(params: RunParams): Promise; } export declare class PoolRunner extends BaseRunner { pool: RunnerPool; constructor(pool: RunnerPool); run(params: RunParams): Promise; } export {}; //# sourceMappingURL=PoolRunner.d.ts.map