import type { InferUIMessageChunk as InferUIMessageChunkV5, UIMessage as UIMessageV5 } from './_types/@internal_ai-sdk-v5/dist/index.d.ts';
import type { InferUIMessageChunk as InferUIMessageChunkV6, UIMessage as UIMessageV6 } from './_types/@internal_ai-v6/dist/index.d.ts';
export type V5UIMessage = UIMessageV5;
export type V6UIMessage = UIMessageV6;
export type SupportedUIMessage = V5UIMessage | V6UIMessage;
export type SupportedUIMessageStream = V5UIMessageStream | V6UIMessageStream;
export type V5UIMessageStream<UI_MESSAGE extends V5UIMessage = V5UIMessage> = ReadableStream<InferUIMessageChunkV5<UI_MESSAGE>>;
export type V6UIMessageStream<UI_MESSAGE extends V6UIMessage = V6UIMessage> = ReadableStream<InferUIMessageChunkV6<UI_MESSAGE>>;
//# sourceMappingURL=public-types.d.ts.map