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

26 lines
912 B
Plaintext

import { NapCatCore } from '../../index';
export interface NapCoreCompatBasicInfo {
readonly requireMinNTQQBuild: (buildVer: string) => boolean;
readonly uin: number;
readonly uid: string;
readonly uin2uid: (uin: number) => Promise<string>;
readonly uid2uin: (uid: string) => Promise<number>;
readonly sendSsoCmdReqByContend: (cmd: string, trace_id: string) => Promise<void>;
}
export declare class NapCoreContext {
private readonly core;
constructor(core: NapCatCore);
get logger(): import("../../index").LogWrapper;
get basicInfo(): NapCoreCompatBasicInfo;
get config(): {
fileLog: boolean;
consoleLog: boolean;
fileLogLevel: string;
consoleLogLevel: string;
packetBackend: string;
packetServer: string;
o3HookMode: number;
};
sendSsoCmdReqByContend: (cmd: string, data: Buffer) => Promise<unknown>;
}