import type { GeneratedAnswerCitationsPayload, GeneratedAnswerMessagePayload } from '../../api/generated-answer/generated-answer-event-payload.js';
import type { ConfigurationSection, DebugSection, GeneratedAnswerSection, SearchSection } from '../../state/state-sections.js';
import { type GeneratedResponseFormat } from './generated-response-format.js';
type StateNeededByGeneratedAnswerStream = ConfigurationSection & SearchSection & GeneratedAnswerSection & DebugSection;
export interface GeneratedAnswerErrorPayload {
    message?: string;
    code?: number;
}
export declare const setIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: boolean], boolean, "generatedAnswer/setIsVisible", never, never>;
export declare const setIsEnabled: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: boolean], boolean, "generatedAnswer/setIsEnabled", never, never>;
export declare const updateMessage: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: GeneratedAnswerMessagePayload], GeneratedAnswerMessagePayload, "generatedAnswer/updateMessage", never, never>;
export declare const updateCitations: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: GeneratedAnswerCitationsPayload], GeneratedAnswerCitationsPayload, "generatedAnswer/updateCitations", never, never>;
export declare const updateError: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: GeneratedAnswerErrorPayload], GeneratedAnswerErrorPayload, "generatedAnswer/updateError", never, never>;
export declare const resetAnswer: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"generatedAnswer/resetAnswer">;
export declare const likeGeneratedAnswer: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"generatedAnswer/like">;
export declare const dislikeGeneratedAnswer: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"generatedAnswer/dislike">;
export declare const openGeneratedAnswerFeedbackModal: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"generatedAnswer/feedbackModal/open">;
export declare const expandGeneratedAnswer: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"generatedAnswer/expand">;
export declare const collapseGeneratedAnswer: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"generatedAnswer/collapse">;
export declare const setId: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: {
    id: string;
}], {
    id: string;
}, "generatedAnswer/setId", never, never>;
export declare const closeGeneratedAnswerFeedbackModal: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"generatedAnswer/feedbackModal/close">;
export declare const sendGeneratedAnswerFeedback: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"generatedAnswer/sendFeedback">;
export declare const setIsLoading: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: boolean], boolean, "generatedAnswer/setIsLoading", never, never>;
export declare const setIsStreaming: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: boolean], boolean, "generatedAnswer/setIsStreaming", never, never>;
export declare const setAnswerContentFormat: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: "text/plain" | "text/markdown"], "text/plain" | "text/markdown", "generatedAnswer/setAnswerContentFormat", never, never>;
export declare const updateResponseFormat: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: GeneratedResponseFormat], GeneratedResponseFormat, "generatedAnswer/updateResponseFormat", never, never>;
export declare const updateAnswerConfigurationId: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: string], string, "knowledge/updateAnswerConfigurationId", never, never>;
export declare const registerFieldsToIncludeInCitations: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: string[]], string[], "generatedAnswer/registerFieldsToIncludeInCitations", never, never>;
export declare const setIsAnswerGenerated: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: boolean], boolean, "generatedAnswer/setIsAnswerGenerated", never, never>;
export declare const setCannotAnswer: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: boolean], boolean, "generatedAnswer/setCannotAnswer", never, never>;
interface StreamAnswerArgs {
    setAbortControllerRef: (ref: AbortController) => void;
}
export declare const streamAnswer: import("@reduxjs/toolkit").AsyncThunk<void, StreamAnswerArgs, {
    state: StateNeededByGeneratedAnswerStream;
    extra: import("../../app/thunk-extra-arguments.js").ClientThunkExtraArguments<import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient, import("../../api/generated-answer/generated-answer-client.js").GeneratedAnswerAPIClient>;
    dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction> | undefined;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export {};
