import type { AgentSession } from '@earendil-works/pi-coding-agent';
import type { EmbeddedStreamEvent } from './types.js';
export declare function subscribeEmbeddedSessionEvents(session: AgentSession, onEvent: (event: EmbeddedStreamEvent) => void): () => void;
export declare function lastAssistantPlainText(session: AgentSession): string | undefined;
