import type { ONIConfig, ONISkeleton } from "../types.js"; import type { BaseSwarmState } from "../swarm/index.js"; import type { AgentRunOutcome, AgentRunRequest, AgentSessionRunner } from "./types.js"; export type SwarmRunnable = ONISkeleton | { compile(): ONISkeleton; }; export interface SwarmSessionRunnerOptions { swarm: SwarmRunnable | ((request: AgentRunRequest) => SwarmRunnable | Promise>); input?: Partial | ((request: AgentRunRequest) => Partial | Promise>); config?: ONIConfig | ((request: AgentRunRequest) => ONIConfig | Promise); artifactTitle?: string; summarize?: (state: S, request: AgentRunRequest) => string; } export declare class SwarmSessionRunner implements AgentSessionRunner { private readonly options; constructor(options: SwarmSessionRunnerOptions); run(request: AgentRunRequest): Promise; } export declare function createSwarmSessionRunner(options: SwarmSessionRunnerOptions): SwarmSessionRunner; //# sourceMappingURL=swarm-runner.d.ts.map