import type { AgentEventEmitter } from "../../agentEvents.js";
export declare class TurnStreamConsumer {
    consume(input: {
        stream: AsyncIterable<["messages", [any, any]] | ["updates", Record<string, any>]>;
        abortSignal?: AbortSignal;
        emit?: AgentEventEmitter;
        onInterrupt?: (interrupt: unknown) => void | Promise<void>;
    }): Promise<{
        text: string;
    }>;
}
