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

14 lines
642 B
Plaintext

import { NodeIQQNTWrapperSession } from '../wrapper';
import { NTEventWrapper } from './event';
/**
* 创建 Session 的双层代理
* 第一层:拦截 getXXXService 方法
* 第二层:拦截 Service 上的具体方法调用
*/
export declare function createSessionProxy(session: NodeIQQNTWrapperSession, eventWrapper: NTEventWrapper): NodeIQQNTWrapperSession;
/**
* 创建带有 EventWrapper 集成的 InstanceContext
* 这是推荐的使用方式,在创建 context 时自动代理 session
*/
export declare function createProxiedSession(session: NodeIQQNTWrapperSession, eventWrapper: NTEventWrapper): NodeIQQNTWrapperSession;