import { type CustomAction, type LegacySearchAction } from '../analytics/analytics-utils.js';
import type { SearchAction } from '../search/search-actions.js';
import type { InlineLink } from '../../utils/inline-link.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 function logOpenGeneratedAnswerSource(citationId: string): CustomAction;
export declare function logOpenGeneratedAnswerSource(citationId: string, answerId: string): CustomAction;
export declare function logHoverCitation(citationId: string, citationHoverTimeInMs: number): CustomAction;
export declare function logHoverCitation(citationId: string, citationHoverTimeInMs: number, answerId: string): CustomAction;
export declare function logGeneratedAnswerOpenInlineLink(inlineLink: InlineLink, answerId: string): CustomAction;
export declare function logLikeGeneratedAnswer(): CustomAction;
export declare function logLikeGeneratedAnswer(answerId: string): CustomAction;
export declare function logDislikeGeneratedAnswer(): CustomAction;
export declare function logDislikeGeneratedAnswer(answerId: string): CustomAction;
export declare const logGeneratedAnswerFeedback: (feedback: GeneratedAnswerFeedback) => CustomAction;
export declare const logGeneratedAnswerStreamEnd: (answerGenerated: boolean, answerId?: string, answerTextIsEmpty?: boolean) => CustomAction;
export declare const logGeneratedAnswerResponseLinked: (answerId?: string) => CustomAction;
export declare const logGeneratedAnswerShowAnswers: () => CustomAction;
export declare const logGeneratedAnswerHideAnswers: () => CustomAction;
export declare const logGeneratedAnswerExpand: () => CustomAction;
export declare const logGeneratedAnswerCollapse: () => CustomAction;
export declare function logCopyGeneratedAnswer(): CustomAction;
export declare function logCopyGeneratedAnswer(answerId: string): CustomAction;
export declare const retryGeneratedAnswer: () => SearchAction;
export declare const generatedAnswerAnalyticsClient: {
    logCopyGeneratedAnswer: typeof logCopyGeneratedAnswer;
    logGeneratedAnswerHideAnswers: () => CustomAction;
    logGeneratedAnswerShowAnswers: () => CustomAction;
    logGeneratedAnswerStreamEnd: (answerGenerated: boolean, answerId?: string, answerTextIsEmpty?: boolean) => CustomAction;
    logGeneratedAnswerFeedback: (feedback: GeneratedAnswerFeedback) => CustomAction;
    logDislikeGeneratedAnswer: typeof logDislikeGeneratedAnswer;
    logLikeGeneratedAnswer: typeof logLikeGeneratedAnswer;
    logGeneratedAnswerOpenInlineLink: typeof logGeneratedAnswerOpenInlineLink;
    logHoverCitation: typeof logHoverCitation;
    logOpenGeneratedAnswerSource: typeof logOpenGeneratedAnswerSource;
    logRetryGeneratedAnswer: () => LegacySearchAction;
    logGeneratedAnswerExpand: () => CustomAction;
    logGeneratedAnswerCollapse: () => CustomAction;
};
