import type { AgentLoopConfig, LoopMessage } from "../harness/types.js"; import type { AgentRunOutcome, AgentRunRequest, AgentSessionRunner } from "./types.js"; import { type PlatformToolPolicyMap } from "./tool-policy.js"; export interface AgentLoopSessionRunnerOptions { config: AgentLoopConfig | ((request: AgentRunRequest) => AgentLoopConfig | Promise); prompt?: (request: AgentRunRequest) => string; systemPrompt?: string; artifactTitle?: string; wrapToolsWithPolicy?: boolean; toolPolicy?: PlatformToolPolicyMap; onMessage?: (message: LoopMessage, request: AgentRunRequest) => void; } export declare class AgentLoopSessionRunner implements AgentSessionRunner { private readonly options; constructor(options: AgentLoopSessionRunnerOptions); run(request: AgentRunRequest): Promise; } export declare function createAgentLoopSessionRunner(options: AgentLoopSessionRunnerOptions): AgentLoopSessionRunner; //# sourceMappingURL=agent-loop-runner.d.ts.map