import type { AcpEvent, McpSpawnConfig, SpawnUsage } from "../../packages/agent-spawn/dist/index.js";
import type { FileSystem as ConfigFileSystem } from "../../packages/config-mutations/dist/index.js";
import type { EmptyProviderOptions } from "./spawn-options.js";
interface PoeAgentSpawnResult {
    stdout: string;
    stderr: string;
    exitCode: number;
    threadId?: string;
    usage?: SpawnUsage;
}
export declare function spawnPoeAgentWithAcp(options: {
    prompt: string;
    model?: string;
    cwd?: string;
    mcpServers?: McpSpawnConfig;
    baseUrl?: string;
    homeDir?: string;
    configPath?: string;
    projectConfigPath?: string;
    fs?: Pick<ConfigFileSystem, "mkdir" | "readFile" | "writeFile">;
    resumeThreadId?: string;
}): {
    events: AsyncIterable<AcpEvent>;
    done: Promise<PoeAgentSpawnResult>;
};
export declare const poeAgentService: import("../cli/service-registry.js").ProviderService<EmptyProviderOptions, EmptyProviderOptions, any>;
export declare const provider: import("../cli/service-registry.js").ProviderService<EmptyProviderOptions, EmptyProviderOptions, any>;
export {};
