import { type CustomAction, type LegacySearchAction } from '../analytics/analytics-utils.js';
import type { SearchAction } from '../search/search-actions.js';
export type GeneratedAnswerFeedbackOption = 'yes' | 'unknown' | 'no';
export type GeneratedAnswerFeedback = {
    helpful: boolean;
    documented: GeneratedAnswerFeedbackOption;
    correctTopic: GeneratedAnswerFeedbackOption;
    hallucinationFree: GeneratedAnswerFeedbackOption;
    readable: GeneratedAnswerFeedbackOption;
    details?: string;
    documentUrl?: string;
};
export declare const parseEvaluationDetails: (detail: "yes" | "no" | "unknown") => boolean | undefined;
export declare const logRetryGeneratedAnswer: () => LegacySearchAction;
export declare const logOpenGeneratedAnswerSource: (citationId: string) => CustomAction;
export declare const logHoverCitation: (citationId: string, citationHoverTimeInMs: number) => CustomAction;
export declare const logLikeGeneratedAnswer: () => CustomAction;
export declare const logDislikeGeneratedAnswer: () => CustomAction;
export declare const logGeneratedAnswerFeedback: (feedback: GeneratedAnswerFeedback) => CustomAction;
export declare const logGeneratedAnswerStreamEnd: (answerGenerated: boolean) => CustomAction;
export declare const logGeneratedAnswerShowAnswers: () => CustomAction;
export declare const logGeneratedAnswerHideAnswers: () => CustomAction;
export declare const logGeneratedAnswerExpand: () => CustomAction;
export declare const logGeneratedAnswerCollapse: () => CustomAction;
export declare const logCopyGeneratedAnswer: () => CustomAction;
export declare const retryGeneratedAnswer: () => SearchAction;
export declare const generatedAnswerAnalyticsClient: {
    logCopyGeneratedAnswer: () => CustomAction;
    logGeneratedAnswerHideAnswers: () => CustomAction;
    logGeneratedAnswerShowAnswers: () => CustomAction;
    logGeneratedAnswerStreamEnd: (answerGenerated: boolean) => CustomAction;
    logGeneratedAnswerFeedback: (feedback: GeneratedAnswerFeedback) => CustomAction;
    logDislikeGeneratedAnswer: () => CustomAction;
    logLikeGeneratedAnswer: () => CustomAction;
    logHoverCitation: (citationId: string, citationHoverTimeInMs: number) => CustomAction;
    logOpenGeneratedAnswerSource: (citationId: string) => CustomAction;
    logRetryGeneratedAnswer: () => LegacySearchAction;
    logGeneratedAnswerExpand: () => CustomAction;
    logGeneratedAnswerCollapse: () => CustomAction;
};
