/** * Executor pool - manages concurrent spec execution */ import type { Adapter, ServerEvent } from '../types.js'; import type { StateStore } from '../state/store.js'; import type { ServerHooks } from '../config/types.js'; export interface GitHubPoolConfig { owner: string; repo: string; pr: { draft: boolean; labels: string[]; assignees: string[]; reviewers: string[]; }; } export interface ExecutorPoolOptions { repoRoot: string; baseBranch: string; concurrency: number; timeout?: number; adapter: Adapter; store: StateStore; github: GitHubPoolConfig; hooks?: ServerHooks; broadcast: (event: ServerEvent) => void; } export interface ExecutorPool { start(): void; stop(): void; enqueue(specId: string): void; cancel(specId: string): boolean; getRunning(): string[]; } export declare function createExecutorPool(options: ExecutorPoolOptions): ExecutorPool; //# sourceMappingURL=pool.d.ts.map