import type { Ref } from "@confect/core"; import type { Cron, Duration } from "effect"; export declare const TypeId = "~@confect/server/CronJob"; export type TypeId = typeof TypeId; export interface CronJob { readonly [TypeId]: TypeId; readonly identifier: string; readonly schedule: Cron.Cron | Duration.Duration; readonly ref: Ref.AnyMutation | Ref.AnyAction; readonly args: Record; } export declare const isCronJob: (u: unknown) => u is CronJob; export declare const make: (identifier: string, schedule: Cron.Cron | Duration.Duration, ref: R, ...args: Ref.OptionalArgs) => CronJob; //# sourceMappingURL=CronJob.d.ts.map