import type { AgentStreamEvent } from "../../agent-sdk-types.js";
import type { PiAgentMessage, PiImageContent, PiTextContent } from "./rpc-types.js";
export interface PiCapturedUserMessageEntry {
    id: string;
    text: string;
}
export declare function getUserMessageText(content: string | (PiTextContent | PiImageContent)[]): string;
export declare function streamPiHistory(provider: string, messages: PiAgentMessage[], userEntries?: readonly PiCapturedUserMessageEntry[]): AsyncGenerator<AgentStreamEvent>;
//# sourceMappingURL=history-mapper.d.ts.map