import type { WorkerDefinition, WorkerRunResult, WorkerStatus, WorkerEngineStatus, WorkerConfigOverride } from '../../types/index.js';
export declare class WorkerEngine {
    private workers;
    private readonly statuses;
    private queue;
    private processing;
    private active;
    private totalRunsCompleted;
    private readonly overrides;
    loadRegistry(registryPath?: string): Promise<void>;
    start(): void;
    stop(): void;
    isActive(): boolean;
    getWorkerDefinitions(): WorkerDefinition[];
    applyOverride(workerName: string, override: WorkerConfigOverride): void;
    enqueue(workerName: string, changedFiles?: string[]): boolean;
    processQueue(projectDir: string): Promise<WorkerRunResult[]>;
    private executeWorker;
    getStatus(workerName?: string): WorkerEngineStatus | WorkerStatus | undefined;
    getQueueLength(): number;
}
export declare function getWorkerEngine(): WorkerEngine;
export declare function resetWorkerEngine(): void;
//# sourceMappingURL=worker-engine.d.ts.map