/** * `/dashboard groups` sub-handler. * * The command-level admin gate has already passed. This handler fetches the * global groups matrix, builds the Feishu list card, and DMs the invoking * admin. Per-row detail cards carry add-bot, leave-bot, oncall, and role * actions through card callbacks. */ import type { LarkMessage } from '../../types.js'; import { type Locale } from '../../i18n/index.js'; import type { DaemonClient } from '../../dashboard/daemon-internal-client.js'; import type { CommandHandlerDeps } from '../command-handler.js'; /** Optional injection seam for tests. */ export interface DashboardGroupsCommandDeps { createClient?: (larkAppId: string) => DaemonClient; sendUserMessage?: (larkAppId: string, openId: string, content: string, msgType?: string) => Promise; locale?: Locale; } export declare function handleDashboardGroups(_message: LarkMessage, _args: string, rootId: string, _chatId: string, deps: CommandHandlerDeps, larkAppId: string | undefined, adminOpenId: string, testDeps?: DashboardGroupsCommandDeps): Promise; //# sourceMappingURL=groups.d.ts.map