export interface IServiceJob { cron?: string; handler: Function; shouldFireImmediately: boolean; } export interface IServiceJobArgs { cron?: string; handler?: any; shouldFireImmediately?: boolean; } export declare class ServiceJob implements IServiceJob { cron: string; shouldFireImmediately: boolean; handler(): Promise; constructor(args?: IServiceJobArgs); }