import { ScheduledJobMisfirePolicy } from '@n8n/constants'; import type { ScheduledJob } from '../types'; import type { PlannedJob } from './transaction'; export interface MisfireCount { taskType: string; policy: ScheduledJobMisfirePolicy; discarded: number; } export declare function applyMisfirePolicy(due: Date[], now: Date, job: ScheduledJob, truncated: boolean): { occurrences: Date[]; catchUpAt: Date | null; }; export declare function countMisfires(planned: PlannedJob[]): MisfireCount[];