/** * `/dashboard schedules` sub-handler. * * The command-level admin gate has already passed. This handler fetches the * global schedules list, builds the Feishu list card, and DMs the invoking * admin. Per-schedule actions are handled by card callbacks from the detail * view. */ 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'; export interface DashboardSchedulesCommandDeps { createClient?: (larkAppId: string) => DaemonClient; sendUserMessage?: (larkAppId: string, openId: string, content: string, msgType?: string) => Promise; locale?: Locale; nowMs?: () => number; } export declare function handleDashboardSchedules(_message: LarkMessage, _args: string, rootId: string, _chatId: string, deps: CommandHandlerDeps, larkAppId: string | undefined, adminOpenId: string, testDeps?: DashboardSchedulesCommandDeps): Promise; //# sourceMappingURL=schedules.d.ts.map