Files
NapCatQQ/.pnpm-store/v3/files/66/4af8f2d3068018b7fec9082bee18a412faf1cb685da9411db7b8530b1c0ae84ea994db6a1660fab59e6f3d507db8ea9f6a3e96c141e314a2b86cccdf467037
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

50 lines
1.2 KiB
Plaintext

export declare class NodeIKernelFileAssistantListener {
onFileStatusChanged(_fileStatus: {
id: string;
fileStatus: number;
fileProgress: `${number}`;
fileSize: `${number}`;
fileSpeed: number;
thumbPath: string | null;
filePath: string | null;
}): any;
onSessionListChanged(..._args: unknown[]): any;
onSessionChanged(..._args: unknown[]): any;
onFileListChanged(..._args: unknown[]): any;
onFileSearch(_searchResult: SearchResultWrapper): any;
}
export type SearchResultWrapper = {
searchId: number;
resultId: number;
hasMore: boolean;
resultItems: SearchResultItem[];
};
export type SearchResultItem = {
id: string;
fileName: string;
fileNameHits: string[];
fileStatus: number;
fileSize: string;
isSend: boolean;
source: number;
fileTime: string;
expTime: string;
session: {
context: null;
uid: string;
nick: string;
remark: string;
memberCard: string;
groupCode: string;
groupName: string;
groupRemark: string;
count: number;
};
thumbPath: string;
filePath: string;
msgId: string;
chatType: number;
peerUid: string;
fileType: number;
};