import type { AiCfoSuggestedQuestionsPageContext } from '../../common/aiCfo/aiCfoSuggestedQuestionsPageContext'; import { FetchStateAndError, ID } from '../../commonStateTypes/common'; import { PageToken } from '../../commonStateTypes/viewAndReport/viewAndReport'; import { ChatSessionPayload } from '../../entity/aiCfo/aiCfoPayload'; import { AiCfoAnswerResponseType } from '../../entity/aiCfo/aiCfoState'; import { ZeniAPIStatus } from '../../responsePayload'; import { ContextStatus, FeedbackType, SubmitFeedbackPayload } from './aiCfoViewPayload'; import { AiCfoViewState, Routine, RoutineDraft, RoutineRun, Skill, SkillDetail, SkillDraft, SkillVersion, SkillVisibility } from './aiCfoViewState'; export declare const initialAiCfoViewState: AiCfoViewState; export declare const acceptMasterTOS: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[userRoleId: string], { userRoleId: string; }, "aiCfoView/acceptMasterTOS", never, never>, acceptMasterTOSFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/acceptMasterTOSFailure">, acceptMasterTOSSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/acceptMasterTOSSuccess">, applyAiCfoSidePanelHostPageTransition: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ newAiCfoSidePanelHostPageKey: string; /** When omitted or null, clears the active session (empty / suggested questions). */ nextCurrentChatSessionId?: ID | null; }, "aiCfoView/applyAiCfoSidePanelHostPageTransition">, clearAiCfoSidePanelHostPageContext: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/clearAiCfoSidePanelHostPageContext">, clearCurrentSessionId: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/clearCurrentSessionId">, clearDeleteChatSessionStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ chatSessionId: ID; }, "aiCfoView/clearDeleteChatSessionStatus">, clearLastContextMessage: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/clearLastContextMessage">, clearSkillDetail: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/clearSkillDetail">, clearSkillMutation: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/clearSkillMutation">, closeRoutineRuns: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/closeRoutineRuns">, closeRoutinesBrowser: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/closeRoutinesBrowser">, closeSkillsBrowser: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/closeSkillsBrowser">, createSession: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[agentId: string, userId: string, contextRefId?: string | undefined, contextType?: string | undefined, pageContext?: string | undefined], { agentId: string; contextRefId: string | undefined; contextType: string | undefined; pageContext: string | undefined; userId: string; }, "aiCfoView/createSession", never, never>, createSessionAndSubmit: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[agentId: string, userId: string, questionAnswerId: string, questionId: string, createdAt: import("dayjs").Dayjs, question: string, files?: File[] | undefined, pageContext?: string | undefined, macroId?: string | undefined], { agentId: string; userId: string; questionAnswerId: string; questionId: string; createdAt: import("dayjs").Dayjs; question: string; files: File[] | undefined; pageContext: string | undefined; macroId: string | undefined; }, "aiCfoView/createSessionAndSubmit", never, never>, createSessionAndSubmitFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/createSessionAndSubmitFailure">, createSessionAndSubmitSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/createSessionAndSubmitSuccess">, createSessionFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/createSessionFailure">, createSessionSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ agentId: string; sessionId: ID; contextMessage?: string; contextStatus?: ContextStatus; }, "aiCfoView/createSessionSuccess">, deleteChatSession: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[chatSessionId: string], { chatSessionId: string; }, "aiCfoView/deleteChatSession", never, never>, deleteChatSessionFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ chatSessionId: ID; error: ZeniAPIStatus; }, "aiCfoView/deleteChatSessionFailure">, deleteChatSessionSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ chatSessionId: ID; }, "aiCfoView/deleteChatSessionSuccess">, deleteRoutine: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { scheduleId: string; }], { scheduleId: string; }, "aiCfoView/deleteRoutine", never, never>, deleteRoutineFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ scheduleId: string; status: ZeniAPIStatus; }, "aiCfoView/deleteRoutineFailure">, deleteRoutineSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ scheduleId: string; }, "aiCfoView/deleteRoutineSuccess">, deleteSkill: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { macroId: string; }], { macroId: string; }, "aiCfoView/deleteSkill", never, never>, deleteSkillFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/deleteSkillFailure">, deleteSkillSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ macroId: string; }, "aiCfoView/deleteSkillSuccess">, fetchChatHistory: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[chatSessionId: string, userId: string], { chatSessionId: string; userId: string; }, "aiCfoView/fetchChatHistory", never, never>, fetchChatHistoryFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ chatSessionId: ID; error: ZeniAPIStatus; }, "aiCfoView/fetchChatHistoryFailure">, fetchChatHistorySuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ chatSessionId: ID; nextPageToken: PageToken; }, "aiCfoView/fetchChatHistorySuccess">, fetchChatSessionsForUser: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/fetchChatSessionsForUser">, fetchChatSessionsForUserFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/fetchChatSessionsForUserFailure">, fetchChatSessionsForUserSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ nextPageToken: PageToken; sessions: ChatSessionPayload[]; }, "aiCfoView/fetchChatSessionsForUserSuccess">, fetchRoutineRuns: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { scheduleId: string; }], { scheduleId: string; }, "aiCfoView/fetchRoutineRuns", never, never>, fetchRoutineRunsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/fetchRoutineRunsFailure">, fetchRoutineRunsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { runs: RoutineRun[]; scheduleId: string; sessionId: string | null; }], { runs: RoutineRun[]; scheduleId: string; sessionId: string | null; }, "aiCfoView/fetchRoutineRunsSuccess", never, never>, fetchRoutines: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/fetchRoutines">, fetchRoutinesFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/fetchRoutinesFailure">, fetchRoutinesSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ maxRoutines: number; routines: Routine[]; routinesEnabled: boolean; }, "aiCfoView/fetchRoutinesSuccess">, fetchSkillDetail: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ macroId: string; }, "aiCfoView/fetchSkillDetail">, fetchSkillDetailFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ error: ZeniAPIStatus; macroId: string; }, "aiCfoView/fetchSkillDetailFailure">, fetchSkillDetailSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ detail: SkillDetail; macroId: string; }, "aiCfoView/fetchSkillDetailSuccess">, fetchSkills: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/fetchSkills">, fetchSkillsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/fetchSkillsFailure">, fetchSkillsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ canPublish: boolean; skills: Skill[]; skillsEnabled: boolean; }, "aiCfoView/fetchSkillsSuccess">, fetchSkillVersionBody: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { macroId: string; version: number; }], { macroId: string; version: number; }, "aiCfoView/fetchSkillVersionBody", never, never>, fetchSkillVersionBodyFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ error: ZeniAPIStatus; macroId: string; version: number; }, "aiCfoView/fetchSkillVersionBodyFailure">, fetchSkillVersionBodySuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ instructions: string; macroId: string; version: number; }, "aiCfoView/fetchSkillVersionBodySuccess">, fetchSkillVersions: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { macroId: string; }], { macroId: string; }, "aiCfoView/fetchSkillVersions", never, never>, fetchSkillVersionsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ error: ZeniAPIStatus; macroId: string; }, "aiCfoView/fetchSkillVersionsFailure">, fetchSkillVersionsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ macroId: string; versions: SkillVersion[]; }, "aiCfoView/fetchSkillVersionsSuccess">, fetchSuggestedQuestions: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ pageContext: AiCfoSuggestedQuestionsPageContext; /** * AI Card Creation flow: when true, the epic appends `&no_card_created=true` * so the backend tailors prompts for a tenant that has not yet created a * card. The bucket key is unchanged (`pageContext`); see * `useFetchSuggestedQuestionsWhenReady` for the refetch-on-flag-flip rule. */ noCardCreated?: boolean; }, "aiCfoView/fetchSuggestedQuestions">, fetchSuggestedQuestionsFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ error: ZeniAPIStatus; pageContext: AiCfoSuggestedQuestionsPageContext; }, "aiCfoView/fetchSuggestedQuestionsFailure">, fetchSuggestedQuestionsSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ generatedAt: string; pageContext: AiCfoSuggestedQuestionsPageContext; suggestedQuestions: string[]; }, "aiCfoView/fetchSuggestedQuestionsSuccess">, initializeNewSessionState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ agentId: string; sessionId: ID; }, "aiCfoView/initializeNewSessionState">, openRoutinesBrowser: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/openRoutinesBrowser">, openSkillsBrowser: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/openSkillsBrowser">, runRoutine: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { scheduleId: string; }], { scheduleId: string; }, "aiCfoView/runRoutine", never, never>, runRoutineFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/runRoutineFailure">, runRoutineSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/runRoutineSuccess">, saveRoutine: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { draft: RoutineDraft; scheduleId?: string; }], { draft: RoutineDraft; scheduleId?: string; }, "aiCfoView/saveRoutine", never, never>, saveRoutineFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/saveRoutineFailure">, saveRoutineSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"aiCfoView/saveRoutineSuccess">, saveSkill: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { draft: SkillDraft; macroId?: string; }], { draft: SkillDraft; macroId?: string; }, "aiCfoView/saveSkill", never, never>, saveSkillFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/saveSkillFailure">, saveSkillSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ detail: SkillDetail; macroId: string; }, "aiCfoView/saveSkillSuccess">, setRoutineEnabled: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { enabled: boolean; scheduleId: string; }], { enabled: boolean; scheduleId: string; }, "aiCfoView/setRoutineEnabled", never, never>, setSession: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ agentId: string; sessionId: string; /** * Set only by the side-panel host-page sync, which re-applies a page's saved * session rather than acting on a user's choice. Such a restore can fire at any * time — when the sessions list resolves, say — including while the user is * deliberately looking at the Skills browser, so it must not close it. */ isRestore?: boolean; }, "aiCfoView/setSession">, setSkillVisibility: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: { macroId: string; visibility: SkillVisibility; }], { macroId: string; visibility: SkillVisibility; }, "aiCfoView/setSkillVisibility", never, never>, setSkillVisibilityFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload>, "aiCfoView/setSkillVisibilityFailure">, setSkillVisibilitySuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ detail: SkillDetail; macroId: string; }, "aiCfoView/setSkillVisibilitySuccess">, stopSubmit: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[chatSessionId: string], { chatSessionId: string; }, "aiCfoView/stopSubmit", never, never>, stopSubmitFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ chatSessionId: ID; error: ZeniAPIStatus; }, "aiCfoView/stopSubmitFailure">, stopSubmitQuestion: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[chatSessionId: string], { chatSessionId: string; }, "aiCfoView/stopSubmitQuestion", never, never>, stopSubmitQuestionFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ chatSessionId: ID; error: ZeniAPIStatus; }, "aiCfoView/stopSubmitQuestionFailure">, stopSubmitQuestionSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ chatSessionId: ID; isOnlyQuestionInSession: boolean; question: string; }, "aiCfoView/stopSubmitQuestionSuccess">, stopSubmitSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ chatSessionId: ID; isOnlyQuestionInSession: boolean; question: string; }, "aiCfoView/stopSubmitSuccess">, submitFeedback: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[chatSessionId: string, chatMessageId: string, feedbackType: FeedbackType, questionText?: string | undefined, answerText?: string | undefined, model?: string | undefined], SubmitFeedbackPayload, "aiCfoView/submitFeedback", never, never>, submitFeedbackFailure: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[chatMessageId: string, error: ZeniAPIStatus>], { chatMessageId: string; error: ZeniAPIStatus>; }, "aiCfoView/submitFeedbackFailure", never, never>, submitFeedbackSuccess: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[chatMessageId: string], { chatMessageId: string; }, "aiCfoView/submitFeedbackSuccess", never, never>, submitQuestion: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[sessionId: string, questionAnswerId: string, userId: string, questionId: string, createdAt: import("dayjs").Dayjs, question: string, files?: File[] | undefined, macroId?: string | undefined], { sessionId: string; questionAnswerId: string; userId: string; questionId: string; createdAt: import("dayjs").Dayjs; question: string; files: File[] | undefined; macroId: string | undefined; }, "aiCfoView/submitQuestion", never, never>, submitQuestionFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ error: ZeniAPIStatus; sessionId: ID; }, "aiCfoView/submitQuestionFailure">, submitQuestionSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload, updateAiCfoViewScrollPosition: import("@reduxjs/toolkit").ActionCreatorWithPayload, updateCotCollapsedState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ isCollapsed: boolean; questionAnswerId: ID; }, "aiCfoView/updateCotCollapsedState">, updateCurrentInput: import("@reduxjs/toolkit").ActionCreatorWithPayload, updateResponseState: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ chatSessionId: ID; fetchState: FetchStateAndError; responseType: AiCfoAnswerResponseType; }, "aiCfoView/updateResponseState">; declare const _default: import("redux").Reducer; export default _default;