import { WorkflowTask } from '@shumai/db' export interface Executor { submit(task: WorkflowTask): Promise start(): void close(): void }