export const WeChatMessageType = {
    USER: 1,
    BOT: 2,
};
export const WeChatMessageItemType = {
    TEXT: 1,
};
export const WeChatMessageState = {
    FINISH: 2,
};
// Shared state
export const adapters = new Map();
export const larkChatIdsByWorkspace = new Map();
export const recentLarkMessageIdsByWorkspace = new Map();
export const botCommandContexts = new Map();
export const recentWechatMessageIdsByWorkspace = new Map();
export const wechatUserIdsByWorkspace = new Map();
export const wechatContextTokensByWorkspace = new Map();
export const wechatLoginSessions = new Map();
// Constants
export const LARK_MESSAGE_DEDUPE_TTL_MS = 5 * 60 * 1000;
export const WECHAT_BASE_URL = 'https://ilinkai.weixin.qq.com';
export const WECHAT_BOT_TYPE = '3';
export const WECHAT_API_TIMEOUT_MS = 15_000;
export const WECHAT_QR_STATUS_TIMEOUT_MS = 8_000;
export const WECHAT_LONG_POLL_TIMEOUT_MS = 35_000;
export const WECHAT_RETRY_DELAY_MS = 2_000;
export const WECHAT_BACKOFF_DELAY_MS = 30_000;
export const WECHAT_MAX_CONSECUTIVE_FAILURES = 5;
export const WECHAT_MESSAGE_DEDUPE_TTL_MS = 5 * 60 * 1000;
//# sourceMappingURL=types.js.map