import { VariableDefine } from '@easy-coder/sdk/variable';
import { EasyCoderEvent } from '@easy-coder/sdk/event';
import { EasyCoderElement, EasyCoderState, GlobalVariable } from '../type';

export default function computedDefine(state: EasyCoderState.Desc, elements: Record<string, EasyCoderElement.Desc<any>>, globalVariable: Record<string, GlobalVariable>): Promise<{
    variableDefine: Record<string, VariableDefine.Object>;
    eventDefine: Record<string, EasyCoderEvent.PathOrMethod>;
}>;
export declare function parseEvent(id: string, eventDefine: EasyCoderElement.Event<any>, state: EasyCoderState.Desc, elements: Record<string, EasyCoderElement.Desc<any>>, prefVariableDefine: Record<string, VariableDefine.Desc>): Promise<EasyCoderEvent.MethodDefine>;
