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