/// <reference types="@arcgis/core/interfaces.d.ts" />
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: boolean;
    /** 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;
};
export type HistoryItem = {
    script?: string;
    error?: string;
    question: string;
    profile?: string;
    conversationId?: string;
    formattedScript?: string;
    layerName?: string;
    message?: string;
};
export type Context = {
    /** profileName and metadata are passed to backend */
    profileName: string;
    metadata: Partial<__esri.Field>[];
    /** used for the context display buttons / chips */
    layerName?: nullish | string;
};
