import { ConversationState } from '../../../../shared-logic/src/AI/types';
import { Component } from '../../../../shared-logic/src/Component/types';
import { AIActionReponse, AIOptions } from '../../../../shared-logic/src/api/vizzly/aiActions';
export declare type AIFunctions = {
    onAsk: (question: string, conversationId: string | undefined, currentAttributes: Component.Attributes, abortSignal: AbortSignal) => Promise<OnAskAI>;
    onAction: (conversationId: string, messageId: string, options: AIOptions) => Promise<OnAIAction>;
    fetchSuggestions: () => Promise<AISuggestions>;
};
export declare type OnAskAI = {
    conversationId: ConversationState['conversationId'];
    attributes: Component.Attributes;
    messageHistory: ConversationState['messageHistory'];
};
export declare type AISuggestions = string[];
export declare type OnAIAction = AIActionReponse;
