import { DashboardBehaviour } from '../contexts/DashboardBehaviour/types';
import { Component } from '../../../shared-logic/src/Component/types';
import { AIFeedback, MessageState } from '../../../shared-logic/src/AI/types';
import { AIFunctions } from '../contexts/AIProvider/types';
export declare const useAiWindow: (attributes: Component.Attributes, onAskAI: AIFunctions['onAsk'], queryEngineConfig: DashboardBehaviour['queryEngineConfig'], setAttributes: (attributes: Component.Attributes) => void) => {
    feedback: {
        error: AIFeedback;
        message?: string | undefined;
    } | undefined;
    reset: () => void;
    message: string;
    conversationId: string | undefined;
    messageState: MessageState;
    messageHistory: import("../../../shared-logic/src/AI/types").Message[];
    send: (options?: {
        message?: string | undefined;
    } | undefined) => Promise<{
        status: string;
    }>;
    setMessage: (newMessage: string) => void;
};
