import { type SwarmRunner, type SwarmRunnerOptions } from "./swarm-runner.js"; import type { SpawnSwarmInput, SwarmStatus } from "./swarm-run.js"; import type { SwarmEventHandler, SwarmEventName } from "./swarm-events.js"; /** Session-scoped registry of active and recently finished swarm runs. */ export declare class SwarmRegistry { private readonly runners; private readonly bySession; get(swarmId: string): SwarmRunner | undefined; listForSession(sessionKey: string): SwarmStatus[]; listAll(): SwarmStatus[]; spawn(sessionKey: string, worktree: string, input: SpawnSwarmInput, options: SwarmRunnerOptions, swarmId?: string): Promise; cancel(swarmId: string, reason?: string): Promise; on(swarmId: string, event: SwarmEventName, handler: SwarmEventHandler): (() => void) | undefined; remove(swarmId: string): void; dispose(): void; } //# sourceMappingURL=swarm-registry.d.ts.map