/**
 * Scheduler types
 */
export type IScheduleKernel = Readonly<{
    getContainer?: () => unknown;
    getRouter?: () => unknown;
}>;
export type IScheduleHandler = (kernel?: IScheduleKernel) => Promise<void> | void;
export type IScheduleBackoffPolicy = Readonly<{
    initialMs: number;
    maxMs: number;
    factor?: number;
}>;
export type ISchedule = {
    name: string;
    intervalMs?: number;
    cron?: string;
    timezone?: string;
    jitterMs?: number;
    backoff?: IScheduleBackoffPolicy;
    leaderOnly?: boolean;
    handler: IScheduleHandler;
    enabled?: boolean;
    runOnStart?: boolean;
};
//# sourceMappingURL=types.d.ts.map