koishi-plugin-best-cave 1.7.3 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,45 +0,0 @@
1
- import { Config } from '..';
2
- import { IdManager } from './IdManager';
3
- import { HashManager } from './HashManager';
4
- /**
5
- * 处理回声洞列表查询
6
- * @param session - 会话对象
7
- * @param config - 配置对象
8
- * @param idManager - ID管理器实例
9
- * @param userId - 可选的用户ID,用于筛选特定用户的回声洞
10
- * @param pageNum - 页码,默认为1
11
- * @returns 格式化后的回声洞列表字符串
12
- */
13
- export declare function processList(session: any, config: Config, idManager: IdManager, userId?: string, pageNum?: number): Promise<string>;
14
- /**
15
- * 查看指定ID的回声洞内容
16
- * @param caveFilePath - 回声洞数据文件路径
17
- * @param resourceDir - 资源文件目录路径
18
- * @param session - 会话对象
19
- * @param options - 命令选项
20
- * @param content - 命令内容数组
21
- * @returns 回声洞内容的格式化字符串
22
- */
23
- export declare function processView(caveFilePath: string, resourceDir: string, session: any, options: any, content: string[]): Promise<string>;
24
- /**
25
- * 随机获取一个回声洞
26
- * @param caveFilePath - 回声洞数据文件路径
27
- * @param resourceDir - 资源文件目录路径
28
- * @param session - 会话对象
29
- * @returns 随机回声洞的格式化字符串,如果没有可用的回声洞则返回错误消息
30
- */
31
- export declare function processRandom(caveFilePath: string, resourceDir: string, session: any): Promise<string | void>;
32
- /**
33
- * 删除指定ID的回声洞
34
- * @param caveFilePath - 回声洞数据文件路径
35
- * @param resourceDir - 资源文件目录路径
36
- * @param pendingFilePath - 待审核回声洞数据文件路径
37
- * @param session - 会话对象
38
- * @param config - 配置对象
39
- * @param options - 命令选项
40
- * @param content - 命令内容数组
41
- * @param idManager - ID管理器实例
42
- * @param HashManager - 哈希管理器实例
43
- * @returns 删除操作的结果消息
44
- */
45
- export declare function processDelete(caveFilePath: string, resourceDir: string, pendingFilePath: string, session: any, config: Config, options: any, content: string[], idManager: IdManager, HashManager: HashManager): Promise<string>;