import { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
import { SearchEngine } from '../../../app/search-engine/search-engine.js';
import { GeneratedAnswerFeedback } from '../../../features/generated-answer/generated-answer-analytics-actions.js';
import { GeneratedAnswer, GeneratedAnswerAnalyticsClient, GeneratedAnswerProps } from '../../core/generated-answer/headless-core-generated-answer.js';
export interface AnswerApiGeneratedAnswer extends Omit<GeneratedAnswer, 'sendFeedback'> {
    /**
     * Resets the last answer.
     */
    reset(): void;
    /**
     * Sends feedback about why the generated answer was not relevant.
     * @param feedback - The feedback that the end user wishes to send.
     */
    sendFeedback(feedback: GeneratedAnswerFeedback): void;
}
interface AnswerApiGeneratedAnswerProps extends GeneratedAnswerProps {
}
export interface SearchAPIGeneratedAnswerAnalyticsClient extends GeneratedAnswerAnalyticsClient {
}
/**
 *
 * @internal
 *
 * Creates a `AnswerApiGeneratedAnswer` controller instance using the Answer API stream pattern.
 *
 * @param engine - The headless engine.
 * @param props - The configurable `AnswerApiGeneratedAnswer` properties.
 * @returns A `AnswerApiGeneratedAnswer` controller instance.
 */
export declare function buildAnswerApiGeneratedAnswer(engine: SearchEngine | InsightEngine, analyticsClient: SearchAPIGeneratedAnswerAnalyticsClient, props?: AnswerApiGeneratedAnswerProps): AnswerApiGeneratedAnswer;
export {};
