interface BotsInfoEntry { larkAppId: string; botName: string | null; } /** 读部署共享花名册 bots-info.json;文件缺失/损坏按空花名册处理(名字解析全部走不通,提示 --app)。 */ export declare function readBotsInfoEntries(): BotsInfoEntry[]; interface ParsedInviteArgs { /** --app 指定的 app_id(按出现顺序、去重)。 */ appIds: string[]; /** --app 后跟的非法 token(非 cli_ 形状)。 */ badAppTokens: string[]; /** 剥掉 /invite、所有 @、所有 --app x 之后的残余文本(应为空,否则 usage)。 */ leftover: string; } /** 从已 stripLeadingMentions 的命令文本解析 --app 参数。 */ export declare function parseInviteArgs(text: string, mentions: any[]): ParsedInviteArgs; /** 返回 true 表示已拦截(不再进入路由/spawn)。 */ export declare function tryHandleInviteCommand(larkAppId: string, message: any, senderOpenId: string | undefined): Promise; export {}; //# sourceMappingURL=invite-command.d.ts.map