import type { AnyFacetRequest } from '../../../../../features/facets/generic/interfaces/generic-facet-request.js';
import type { AnalyticsParam, PipelineRuleParameters } from '../../../../search/search-api-params.js';
import { type GeneratedAnswerServerState } from '../../answer-generation-api-state.js';
/**
 * Parameters for answer generation requests.
 */
export type AnswerParams = {
    q: string;
    facets?: AnyFacetRequest[];
    searchHub?: string;
    pipeline?: string;
    pipelineRuleParameters: PipelineRuleParameters;
    locale: string;
} & AnalyticsParam;
/**
 * Arguments for the answer endpoint including streaming strategy and request parameters.
 */
export type AnswerEndpointArgs = {
    strategyKey: 'head-answer';
} & AnswerParams;
/**
 * RTK Query endpoint for streaming answer generation.
 */
export declare const answerEndpoint: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, {
    generateAnswer: import("@reduxjs/toolkit/query").QueryDefinition<AnswerEndpointArgs, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, GeneratedAnswerServerState, "answerGenerationApi">;
}, "answerGenerationApi", never, typeof import("@reduxjs/toolkit/query").coreModuleName>;
/**
 * Initiates an answer generation query with the specified strategy and parameters.
 */
export declare const initiateAnswerEndpoint: (args: AnswerEndpointArgs) => import("redux-thunk").ThunkAction<import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<AnswerEndpointArgs, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, never, GeneratedAnswerServerState, "answerGenerationApi">>, any, any, import("@reduxjs/toolkit").UnknownAction>;
