import { FlowAction } from '@activepieces/shared' import { EngineConstants } from './context/engine-constants' import { FlowExecutorContext } from './context/flow-execution-context' export type ActionHandler = (request: { action: T, executionState: FlowExecutorContext, constants: EngineConstants }) => Promise export type BaseExecutor = { handle(request: { action: T executionState: FlowExecutorContext constants: EngineConstants }): Promise }