import type { ModuleIdentifier } from '../module-model/index.js'; export interface ModuleTask { /** @field the name of the endPoint that is being called. If not specified, the default endPoint is used */ endPoint?: TEndpoints; /** @field determines what inputs are sent to each module - if string, that is the output from other module (name/address) */ input?: boolean | ModuleIdentifier | ModuleIdentifier[]; /** @field the modules that performs the task */ mod: ModuleIdentifier; required?: boolean; } export type ArchivistTask = ModuleTask<'all' | 'clear' | 'commit' | 'delete' | 'get' | 'insert'>; export type DivinerTask = ModuleTask<'divine'>; export type WitnessTask = ModuleTask<'observe'>; export type Task = WitnessTask | DivinerTask | ArchivistTask | ModuleTask; //# sourceMappingURL=Task.d.ts.map