import { AgentChatMessage } from "../services/agentService";
import { Message } from "./types";
export declare const stringifyToolField: (value: unknown) => string | undefined;
export declare const parseToolResultValue: (value: unknown) => string | object | undefined;
export declare const getFirstToolCallEnvelope: (data: any) => any;
export declare const extractToolCallFields: (data: any) => {
    toolCallId?: string;
    functionName: string;
    functionArguments: string;
};
export declare const convertAgentMessagesToAiFormat: (agentMessages: AgentChatMessage[]) => Message[];
