Files
NapCatQQ/.pnpm-store/v3/files/1e/e7b3c701bee18c74e52ead895e3fe6e4d613d96543f75997b6349cae422d26a2f26348a2471795f9f50cc0efc2437939ed540b2fe6ae855c430c56fbebe2eb
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

39 lines
1.0 KiB
Plaintext

import { GeneralCallResult } from './common';
declare enum ProxyType {
CLOSE = 0,
HTTP = 1,
SOCKET = 2
}
export interface NodeIKernelMSFService {
getServerTime(): string;
setNetworkProxy(param: {
userName: string;
userPwd: string;
address: string;
port: number;
proxyType: ProxyType;
domain: string;
isSocket: boolean;
}): Promise<GeneralCallResult>;
getNetworkProxy(): Promise<{
userName: string;
userPwd: string;
address: string;
port: number;
proxyType: ProxyType;
domain: string;
isSocket: boolean;
}>;
sendMsfRequest(seq: string, cmd: string, reqData: Uint8Array, option: {
sendTimeout: number;
sendTimeoutOnSlowNet: number;
resendNum: number;
sendOptions: number;
reqTargetAccountType: number;
account: string;
accountType: number;
transInfoMap: Map<string, unknown>;
}): Promise<Buffer>;
}
export {};