import type { AssistantMessage } from "@mariozechner/pi-ai";
import type { ReasoningLevel, VerboseLevel } from "../../../auto-reply/thinking.js";
import type { FasedAgentConfig } from "../../../config/config.js";
import type { ToolResultFormat } from "../../pi-embedded-subscribe.js";
type ToolMetaEntry = {
    toolName: string;
    meta?: string;
};
type LastToolError = {
    toolName: string;
    meta?: string;
    error?: string;
    mutatingAction?: boolean;
    actionFingerprint?: string;
};
export declare function buildEmbeddedRunPayloads(params: {
    assistantTexts: string[];
    toolMetas: ToolMetaEntry[];
    lastAssistant: AssistantMessage | undefined;
    lastToolError?: LastToolError;
    config?: FasedAgentConfig;
    sessionKey: string;
    provider?: string;
    model?: string;
    verboseLevel?: VerboseLevel;
    reasoningLevel?: ReasoningLevel;
    toolResultFormat?: ToolResultFormat;
    suppressToolErrorWarnings?: boolean;
    inlineToolResultsAllowed: boolean;
    didSendViaMessagingTool?: boolean;
}): Array<{
    text?: string;
    mediaUrl?: string;
    mediaUrls?: string[];
    replyToId?: string;
    isError?: boolean;
    isReasoning?: boolean;
    audioAsVoice?: boolean;
    replyToTag?: boolean;
    replyToCurrent?: boolean;
}>;
export {};
