import React from "react";
type UseChatHistoryParams = {
    tenantKey: string;
    mentorId: string;
    username: string;
    cachedSessionId?: Record<string, string>;
    isOffline?: boolean;
};
export declare function useChatHistory({ tenantKey, mentorId, username, cachedSessionId, isOffline, }: UseChatHistoryParams): {
    getChats: () => Promise<void>;
    loadOlderMessages: () => Promise<void>;
    hasMore: boolean;
    isLoadingOlderMessages: boolean;
    isLoadingChats: boolean;
    isLoadingChatsRef: React.RefObject<boolean>;
};
export {};
