/** * SearchHistoryListParams - 搜索记录列表参数 */ type SearchHistoryListParams = { devId: string; }; /** * SearchHistory - 搜索记录 */ type SearchHistory = string; /** * SearchHistoryListResponse - 搜索记录列表响应 */ type SearchHistoryListResponse = SearchHistory[]; /** * 获取搜索历史记录列表 * @param params - 搜索记录列表参数 * @returns 获取搜索记录列表结果的 Promise */ export declare function getSearchHistoryList(params: SearchHistoryListParams): Promise; /** * DeleteSearchHistoryParams - 搜索记录单条删除参数 */ type DeleteSearchHistoryParams = { name: string; devId: string; }; /** * DeleteSearchHistoryResponse - 搜索记录单条删除响应 */ type DeleteSearchHistoryResponse = boolean; /** * 删除单条搜索历史记录 * @param params - 搜索记录单条删除参数 * @returns 删除单条搜索历史记录结果的 Promise */ export declare function deleteSearchHistory(params: DeleteSearchHistoryParams): Promise; /** * CleanSearchHistoryParams - 搜索记录清空参数 */ type CleanSearchHistoryParams = { devId: string; }; /** * CleanSearchHistoryResponse - 搜索记录清空响应 */ type CleanSearchHistoryResponse = boolean; /** * 清空搜索历史记录 * @param params - 搜索记录清空参数 * @returns 清空搜索历史记录结果的 Promise */ export declare function cleanSearchHistory(params: CleanSearchHistoryParams): Promise; export {};