import type { MaChatbotFeedbackTopic, MaChatbotMessage } from '../types';
export interface UseFeedbackOptions {
    submitFeedbackApi: (recordId: number, isPositive: boolean, feedbackTopic?: string, feedbackText?: string) => Promise<boolean>;
}
export declare function useFeedback({ submitFeedbackApi }: UseFeedbackOptions): {
    showFeedbackPanel: import("vue").Ref<boolean, boolean>;
    handleThumbsUp: (msg: MaChatbotMessage) => void;
    handleThumbsDown: (msg: MaChatbotMessage) => void;
    cancelFeedback: () => void;
    submitNegativeFeedback: (topic: MaChatbotFeedbackTopic | null, text: string) => Promise<MaChatbotMessage | null>;
};
