import type { RecommendationRequest } from '../../api/search/recommendation/recommendation-request.js'; import type { Result } from '../../api/search/search/result.js'; import type { RecommendationAppState } from '../../state/recommendation-app-state.js'; import type { ConfigurationSection, RecommendationSection } from '../../state/state-sections.js'; import type { AnalyticsAsyncThunk } from '../analytics/analytics-utils.js'; export type StateNeededByGetRecommendations = ConfigurationSection & RecommendationSection & Partial; export interface GetRecommendationsThunkReturn { recommendations: Result[]; analyticsAction: AnalyticsAsyncThunk; searchUid: string; duration: number; splitTestRun: string; pipeline: string; } export interface SetRecommendationIdActionCreatorPayload { /** * The recommendation identifier. */ id: string; } export declare const setRecommendationId: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SetRecommendationIdActionCreatorPayload], SetRecommendationIdActionCreatorPayload, "recommendation/set", never, never>; export declare const getRecommendations: import("@reduxjs/toolkit").AsyncThunk; dispatch?: import("redux-thunk").ThunkDispatch | undefined; serializedErrorType?: unknown; pendingMeta?: unknown; fulfilledMeta?: unknown; rejectedMeta?: unknown; }>; export declare const buildRecommendationRequest: (s: StateNeededByGetRecommendations) => Promise;