import type { RuntimeCapacityUnit, RuntimeWorkerHealth, RuntimeWorkerRecord } from "./types.js"; export interface RuntimeWorkerRegistry { listWorkers(): RuntimeWorkerRecord[]; registerWorker(worker: RuntimeWorkerRecord): void; updateWorkerHealth(workerId: string, health: RuntimeWorkerHealth): void; reserveWorkerCapacity(workerId: string, capacity: RuntimeCapacityUnit): void; releaseWorkerCapacity(workerId: string, capacity: RuntimeCapacityUnit): void; } export declare class InMemoryRuntimeWorkerRegistry implements RuntimeWorkerRegistry { private readonly workers; constructor(workers?: RuntimeWorkerRecord[]); listWorkers(): RuntimeWorkerRecord[]; registerWorker(worker: RuntimeWorkerRecord): void; updateWorkerHealth(workerId: string, health: RuntimeWorkerHealth): void; reserveWorkerCapacity(workerId: string, capacity: RuntimeCapacityUnit): void; releaseWorkerCapacity(workerId: string, capacity: RuntimeCapacityUnit): void; private requireWorker; } export declare function createLocalRuntimeWorker(worker?: Partial): RuntimeWorkerRecord;