export type SupportedLocale = "zh-CN" | "en-US"; export type ScheduleScope = "current" | "shared"; export type ScheduleState = "scheduled" | "running" | "paused" | "overdue"; export interface RawScheduleRecord { id: string; name?: string; paused?: boolean; activeRunId?: string; sessionOnly?: boolean; ownerSessionFile?: string; trigger?: { kind?: string; every?: string; nextRunAt?: string; at?: string; }; } export interface ScheduleSnapshot { id: string; name: string; scope: ScheduleScope; state: ScheduleState; triggerKind: "once" | "interval"; activeRunId?: string; every?: string; nextRunAt?: number; startedAt?: number; }