import { VibeCalendarTask, CalendarOccurrence } from './types'; export interface SchedulerJobLike { id: string; name?: string | null; description?: string | null; status: string; scheduleType: string; cronExpression?: string | null; rrule?: string | null; interval?: unknown; scheduledAt?: string | null; nextExecutionAt?: string | null; lastExecutionAt?: string | null; actionId?: string | null; timezone?: string | null; startDate?: string | null; endDate?: string | null; } /** * Build a minimal VibeCalendarTask shape from a ScheduledJob so the * existing calendar view components (VibeCalMonthView, VibeTaskBlock, * etc.) can render it without any component changes. Unused task * fields are filled with safe defaults. */ export declare function jobToVibeCalendarTask(job: SchedulerJobLike): VibeCalendarTask; /** * Expand a single ScheduledJob into calendar occurrences that fall * within [rangeStart, rangeEnd]. See file header for CRON/RRULE caveat. */ export declare function expandJobToOccurrences(job: SchedulerJobLike, rangeStart: Date, rangeEnd: Date): CalendarOccurrence[]; /** * Convenience helper: expand a list of jobs into a merged, sorted list * of occurrences. */ export declare function expandJobsToOccurrences(jobs: SchedulerJobLike[], rangeStart: Date, rangeEnd: Date): CalendarOccurrence[];