import { type PayloadAction } from "@reduxjs/toolkit"; import { type IAnalyticalBackend, type IUserWorkspaceSettings } from "@gooddata/sdk-backend-spi"; import { type GenAIChatInteractionUserFeedback } from "@gooddata/sdk-model"; import { type IChatConversationLocalItem, type Message } from "../../model.js"; /** * Save user feedback to server. * Optimistic update, ignoring the error. * @internal */ export declare function onUserFeedback({ payload, }: PayloadAction<{ assistantMessageId: string; feedback: GenAIChatInteractionUserFeedback; userTextFeedback?: string; }>): Generator | import("redux-saga/effects").PutEffect<{ payload: { assistantMessageId: string; conversationId?: string; error: string; }; type: "messages/setUserFeedbackError"; }> | import("redux-saga/effects").SelectEffect, void, IAnalyticalBackend & string & IUserWorkspaceSettings & import("@gooddata/sdk-backend-spi").IChatConversation & { localId: string; generatingTitle?: boolean; inProgress?: boolean; } & IChatConversationLocalItem[] & Message[]>; //# sourceMappingURL=onUserFeedback.d.ts.map