import { DSLQuery } from '@lingxiteam/dsl'; export interface ContextType { DSLCore?: DSLQuery; isMobile: boolean; compName: string; compNode?: any; } export declare type EditEventJSONType = Record; export declare type EditEventProcessFunctionType = (event: EditEventJSONType[], DSLCore?: DSLQuery, context?: ContextType) => EditEventJSONType[]; /** * 预处理事件comEvents数据, 本方法仅在编辑器端使用。 * @param event 事件数据 * @param context 上下文 */ export declare const setComEventsBefore: (comEvents: any[], context: ContextType) => any[];