import type { GeneratedAnswerCitation } from '../../api/generated-answer/generated-answer-event-payload.js';
import type { SearchEngine } from '../../app/search-engine/search-engine.js';
import type { GeneratedAnswerState } from '../../features/generated-answer/generated-answer-state.js';
import type { GeneratedResponseFormat } from '../../features/generated-answer/generated-response-format.js';
import type { GeneratedAnswer, GeneratedAnswerProps, GeneratedAnswerPropsInitialState } from '../core/generated-answer/headless-core-generated-answer.js';
export type { GeneratedAnswerCitation, GeneratedResponseFormat, GeneratedAnswerState, GeneratedAnswer, GeneratedAnswerProps, GeneratedAnswerPropsInitialState, };
/**
 * Creates a `GeneratedAnswer` controller instance.

 * @param engine - The headless engine.
 * @param props - The configurable `GeneratedAnswer` properties.
 * @returns A `GeneratedAnswer` controller instance.
 *
 * @group Controllers
 * @category GeneratedAnswer
 */
export declare function buildGeneratedAnswer(engine: SearchEngine, props?: GeneratedAnswerProps): GeneratedAnswer;
