import type { AssistantMessage } from "@earendil-works/pi-ai"; import type { SourceReplyDeliveryMode } from "../../../auto-reply/get-reply-options.types.js"; import { type HeartbeatToolResponse } from "../../../auto-reply/heartbeat-tool-response.js"; import { type ReplyPayload } from "../../../auto-reply/reply-payload.js"; import type { ReasoningLevel, ThinkLevel, VerboseLevel } from "../../../auto-reply/thinking.js"; import type { KlawConfig } from "../../../config/types.klaw.js"; import type { MessagingToolSourceReplyPayload } from "../../pi-embedded-messaging.types.js"; import type { ToolResultFormat } from "../../pi-embedded-subscribe.shared-types.js"; import { type ToolErrorSummary } from "../../tool-error-summary.js"; type ToolMetaEntry = { toolName: string; meta?: string; }; export declare function buildEmbeddedRunPayloads(params: { assistantTexts: string[]; toolMetas: ToolMetaEntry[]; lastAssistant: AssistantMessage | undefined; currentAssistant?: AssistantMessage | null; lastToolError?: ToolErrorSummary; config?: KlawConfig; isCronTrigger?: boolean; sessionKey: string; provider?: string; model?: string; verboseLevel?: VerboseLevel; reasoningLevel?: ReasoningLevel; thinkingLevel?: ThinkLevel; toolResultFormat?: ToolResultFormat; suppressToolErrorWarnings?: boolean; inlineToolResultsAllowed: boolean; didSendViaMessagingTool?: boolean; messagingToolSourceReplyPayloads?: MessagingToolSourceReplyPayload[]; sourceReplyDeliveryMode?: SourceReplyDeliveryMode; agentId?: string; runId?: string; runAborted?: boolean; didSendDeterministicApprovalPrompt?: boolean; heartbeatToolResponse?: HeartbeatToolResponse; }): ReplyPayload[]; export {};