import { type AgentBuilder, type RunResult } from "../../../poe-agent/dist/index.js"; import type { AgentRunInput } from "../runtime/loop.js"; export type AgentFactory = () => AgentBuilder; export type ExecutePoeAgentResult = RunResult; export declare function executePoeAgent(agentSpec: string, input: AgentRunInput, createAgent?: AgentFactory): Promise;