import type { Result } from '@polywrap/result';
import type { AgentOutput } from './AgentOutput.js';
export type RunResult = Result<AgentOutput, string>;
export interface RunnableAgent<TRunArgs> {
    run(args: TRunArgs): AsyncGenerator<AgentOutput, RunResult, string | undefined>;
}
export declare enum PromptType {
    None = 0,
    Prompt = 1,
    Question = 2
}
