import { type AiConversationItemResponse, type AiConversationItemResponseDetail, type AiConversationResponse, type AiConversationResponseList, type AiInteractionStepResponse, type AiSuggestions } from "@gooddata/api-client-tiger"; import { type IChatConversation, type IChatConversationError, type IChatConversationInteractionStep, type IChatConversationItem, type IChatConversationItemDetail, type IChatSuggestions } from "@gooddata/sdk-backend-spi"; import type { FormattingLocale } from "./dateFormatting/defaultDateFormatter.js"; import { type DateNormalizer } from "./dateFormatting/types.js"; export declare function convertChatConversationFromBackend(conversation: AiConversationResponse): IChatConversation; export declare function convertChatConversationItemFromBackend(item: AiConversationItemResponse, responses: AiConversationResponseList["responses"] | undefined, history: IChatConversationItem[], dateNormalizer: DateNormalizer, locale?: FormattingLocale, timezone?: string): IChatConversationItem | undefined; export declare function convertChatConversationItemsFromBackend(items: AiConversationItemResponse[], responses: AiConversationResponseList["responses"] | undefined, dateNormalizer: DateNormalizer, locale?: FormattingLocale, timezone?: string): IChatConversationItem[]; export declare function convertChatConversationErrorFromBackend(item: Partial<{ statusCode: number; detail: string; reason: string; }>, traceId?: string): IChatConversationError; /** * Converts the `interaction_step` SSE payload to its domain shape. `type` is stamped here — the * payload has no discriminator of its own, the SSE event name carries that. */ export declare function convertChatConversationInteractionStepFromBackend(step: AiInteractionStepResponse, traceId?: string): IChatConversationInteractionStep; /** * Converts one conversation item's `detail` — what that action did. Returns `undefined` for a * category this client version does not know, so a newer backend's body degrades to "no card * content" rather than failing the whole item. */ export declare function convertChatConversationItemDetailFromBackend(detail: AiConversationItemResponseDetail | null | undefined): IChatConversationItemDetail | undefined; export declare function convertChatSuggestionItemFromBackend(item: AiSuggestions | null | undefined): IChatSuggestions; //# sourceMappingURL=genAIConvertor.d.ts.map