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; reset: () => Promise | void; start: () => Promise | void; stop: () => Promise | void; }; } interface WorkerParams { workerId?: string; worker: IWorker; } export declare const BaseWorker: IWorker; export {};