import { ArcadeAiProfileContext } from '../../utils/arcade-assistant/types';
export type Feedback = {
    user_evaluation?: "bad" | "good";
    your_comments?: string;
    question: string;
    answer: string;
    useragent: string;
    _source: string;
    version: string;
    context: string;
    extras: string;
    conversation_id: string;
    privacy_statement: "" | "I_agree";
};
export type FeedbackState = {
    /** Whether the feedback form is active */
    active: true;
    /** the selected feedback value */
    value?: "bad" | "good";
    /** The feedback description provided by the user */
    text: string;
    /** The history item associated with the feedback */
    item: HistoryItem;
    /** Whether the user has accepted the privacy terms */
    termsAccepted: boolean;
    /** Whether the feedback is submitting */
    submitting: boolean;
} | {
    active: false;
};
export type HistoryItem = {
    script?: string;
    error?: string;
    question: string;
    profile?: string;
    conversationId?: string;
    formattedScript?: string;
    layerName?: string;
    message?: string;
};
export type IconName = HTMLCalciteIconElement["icon"];
export type Context = {
    /** profileId and metadata are passed to backend */
    profileId: string;
    metadata: ArcadeAiProfileContext;
    /** used for the context display buttons / chips */
    layerName?: nullish | string;
};
