import { VariableDefine } from '@easy-coder/sdk/variable';
import { StoreContext } from '@easy-coder/sdk/store';
import { EasyCoderEvent } from '../type';

export interface Options {
    store: StoreContext;
    variables?: Record<string, VariableDefine.Desc>;
    variableContext?: Record<string, any>;
    value: EasyCoderEvent.Desc;
    triggerMethod: EasyCoderEvent.MethodDefine;
    triggerParams?: any[];
}
export default function executeEvent({ value, triggerMethod, triggerParams, variables, variableContext, store }: Options): Promise<any>;
