/// <reference types="react" />
import { HistoryProps } from '../types';
import { HistoryDataType } from '../types/HistoryData';
/**
 * 历史记录状态管理 Hook
 */
export declare const useHistory: (props: HistoryProps) => {
    open: boolean;
    setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    chatList: HistoryDataType[];
    searchKeyword: string;
    selectedIds: string[];
    filteredList: HistoryDataType[];
    loadHistory: () => Promise<void>;
    handleFavorite: (sessionId: string, isFavorite: boolean) => Promise<void>;
    handleSelectionChange: (sessionId: string, checked: boolean) => void;
    handleSearch: (value: string) => void;
    handleLoadMore: () => Promise<void>;
    handleNewChat: () => Promise<void>;
};
