import { ThreadMessageLike } from '@assistant-ui/react';
import { MastraUIMessage } from '../types';
/**
 * Converts a Mastra UIMessage (from AI SDK) to a ThreadMessageLike format compatible with @assistant-ui/react.
 *
 * This function handles UIMessages from three sources:
 * - agent.generate: Full output with all message parts
 * - toUIMessage: Streaming chunks accumulated into UIMessages
 * - toNetworkUIMessage: Network execution events accumulated into UIMessages
 *
 * @param message - The MastraUIMessage to convert
 * @returns A ThreadMessageLike compatible with @assistant-ui/react
 */
export declare const toAssistantUIMessage: (message: MastraUIMessage) => ThreadMessageLike;
