import { HistoryProps } from '../types'; import { HistoryDataType } from '../types/HistoryData'; /** * 历史列表搜索状态管理 sub-hook。 * * 拆分自 useHistory: * - 仅持有 searchKeyword 状态 * - 由调用方传入 chatList 计算 filteredList,本 hook 不直接依赖列表来源 * - 与 useHistoryData / useHistorySelection 完全解耦 * * @internal 仅供 useHistory 组合使用,不对外暴露 */ export declare const useHistorySearch: (props: HistoryProps, chatList: HistoryDataType[]) => { searchKeyword: string; filteredList: HistoryDataType[]; handleSearch: (value: string) => void; };