import { PiAgentMessage, PiHostUiRequest, PiToolResultContent } from "../types.js"; import { PiThreadState } from "./threadState.js"; import { ExportedMessageRepository, ThreadMessageLike } from "@assistant-ui/react"; //#region src/runtime/messageProjection.d.ts type ContentPart = Exclude[number]; export interface PiProjectionInput { messages: readonly PiAgentMessage[]; toolExecutions: PiThreadState["toolExecutions"]; runStatus: PiThreadState["runStatus"]; hostUiRequests: readonly PiHostUiRequest[]; } export declare const projectPiThreadMessages: (input: PiProjectionInput) => ThreadMessageLike[]; export declare const shareProjectedThreadMessages: (next: readonly ThreadMessageLike[], previous: readonly ThreadMessageLike[]) => readonly ThreadMessageLike[]; export declare const projectPiThreadMessagesShared: (input: PiProjectionInput, previous: readonly ThreadMessageLike[]) => readonly ThreadMessageLike[]; export declare const projectPiThreadRepository: (input: PiProjectionInput) => ExportedMessageRepository; //#endregion export type { ContentPart as PiProjectedContentPart, PiToolResultContent }; //# sourceMappingURL=messageProjection.d.ts.map