import { Chat } from "../models/Chat";
import { Conversation, Message } from "../models/Conversation";
import { AgentApiService } from "../api-service";
export declare function useMaxChat(agentApi: AgentApiService, context: () => Record<any, any>): {
    error: boolean;
    loading: boolean;
    isAgentThinking: boolean;
    messages: Chat[];
    displayedMessages: Chat[];
    hasMoreMessages: boolean;
    loadOlderMessages: () => Promise<void>;
    isLoadingOlderMessages: boolean;
    streamingResponse: string | undefined;
    sendMessage: (message: string, isAppInitiated: boolean, currentAppName?: string) => Promise<void>;
    startNewConversation: () => void;
    suggestedMessages: string[];
    loadConversation: (conversationId: string) => Promise<void>;
    conversationList: Conversation[];
    fetchConversationList: () => Promise<void>;
    sendFeedback: (messageId: string, score: string, comment: string) => Promise<void>;
    fetchMessagePair: (messageId: string) => Promise<Message | undefined>;
    retrySendMessage: () => Promise<void>;
    messageHasBeenSent: boolean;
    fetchUsageStatus: () => Promise<import("../models/UsageStatus").UserStatus | undefined>;
    doesUserHaveAgentPerms: () => boolean;
};
