import type { AssistantMessage } from "@earendil-works/pi-ai";
import type { ReasoningLevel, VerboseLevel } from "../../../auto-reply/thinking.js";
import type { KaijiBotConfig } from "../../../config/config.js";
import type { ToolResultFormat } from "../../pi-embedded-subscribe.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;
    lastToolError?: ToolErrorSummary;
    config?: KaijiBotConfig;
    isCronTrigger?: boolean;
    sessionKey: string;
    provider?: string;
    model?: string;
    verboseLevel?: VerboseLevel;
    reasoningLevel?: ReasoningLevel;
    toolResultFormat?: ToolResultFormat;
    suppressToolErrorWarnings?: boolean;
    inlineToolResultsAllowed: boolean;
    didSendViaMessagingTool?: boolean;
    didSendDeterministicApprovalPrompt?: boolean;
}): Array<{
    text?: string;
    mediaUrl?: string;
    mediaUrls?: string[];
    replyToId?: string;
    isError?: boolean;
    isReasoning?: boolean;
    audioAsVoice?: boolean;
    replyToTag?: boolean;
    replyToCurrent?: boolean;
}>;
export {};
