import type { Work } from '@unchainedshop/core-worker'; export interface IWorker
{
key: string;
label: string;
version: string;
type: string;
external: boolean;
getFloorDate: (date?: Date) => Date;
actions: (params: P, unchainedAPI: any) => {
autorescheduleTypes: (options: {
referenceDate: Date;
}) => Promise<(Work | null)[]>;
process: (options: {
maxWorkItemCount?: number;
referenceDate?: Date;
}) => Promise