export declare function __setGroupsSnapshotForTest(snapshot: { chats: any[]; bots: any[]; }): void; export declare function loadGroupsSnapshot(): Promise; export type BotCard = { botName: string; larkAppId?: string; /** 租户品牌,决定飞书后台深链的 host(feishu.cn vs larksuite.com)。 * 缺省(旧 payload / 未注册)→ larkConsoleUrl 内 normalizeBrand 兜底 feishu。 */ brand?: string; botAvatarUrl?: string; cliId: string; online: boolean; sessions: any[]; active: any[]; busy: any[]; attention: any[]; lastActiveAt: number; }; /** 把会话按 bot 聚合成"数字员工"卡片数据;在线 bot 没会话也要出现(待命)。 * 以 larkAppId 为身份键(部分会话缺 botName,按名字聚会裂成两张卡); * 显示名优先 daemon 注册表,其次会话上的 botName。只剩历史 closed 会话、 * 又不在注册表里的 bot 不出卡(避免一排灰色离线噪音)。 */ export declare function buildBotCards(sessions: any[]): BotCard[]; //# sourceMappingURL=overview.d.ts.map