import type { AiCfoSuggestedQuestionsPageContext } from '../../common/aiCfo/aiCfoSuggestedQuestionsPageContext'; import { ID } from '../../commonStateTypes/common'; import { FetchStateAndError } from '../../commonStateTypes/common'; import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport'; import { AiCfoSelectorView } from '../../entity/aiCfo/aiCfoSelector'; import { RootState } from '../../rootStateTypes'; import { AiCfoViewUIState, SkillDetailState, SkillMutationState, SkillVersionBodyState, SkillVersionsState, RoutineMutationState, RoutineRunsState, RoutinesState, SkillsState, SuggestedQuestionsForPageContext } from './aiCfoViewState'; export interface AiCfoViewSelector extends SelectorView, AiCfoSelectorView { createSessionAndSubmitState: FetchStateAndError; createSessionState: FetchStateAndError; deleteChatSessionStateByChatSessionId: Record; fetchChatSessionHistoryByChatSessionId: Record; masterTOSAcceptanceState: FetchStateAndError; responseStateByChatSessionId: Record; stopSubmitStateByChatSessionId: Record; suggestedQuestionsByPageContext: Partial>; uiState: AiCfoViewUIState; } export declare const getAiCfoView: (state: RootState) => AiCfoViewSelector; export declare function getSuggestedQuestionsForPageContext(state: RootState, pageContext: AiCfoSuggestedQuestionsPageContext): SuggestedQuestionsForPageContext | undefined; export declare function getRoutineMutation(state: RootState): RoutineMutationState; export declare function getRoutineRuns(state: RootState): RoutineRunsState; export declare function getRoutines(state: RootState): RoutinesState; /** * Whether another routine may be created. * * False while the cap is still unknown: offering the control and failing on * save is worse than withholding it for the moment the list takes to load. */ export declare function canCreateRoutine(state: RootState): boolean; /** True only when the server says Routines is on for this tenant. */ export declare function getRoutinesEnabled(state: RootState): boolean; export declare function getSkills(state: RootState): SkillsState; export declare function getSkillDetail(state: RootState): SkillDetailState; export declare function getSkillVersions(state: RootState): SkillVersionsState; export declare function getSkillVersionBody(state: RootState): SkillVersionBodyState; export declare function getSkillMutation(state: RootState): SkillMutationState; /** True only when the server says the feature is on for this tenant. */ export declare function getSkillsEnabled(state: RootState): boolean;