export interface IEventOld {
    /** id */
    id: string;
    /** 名称 */
    name: string;
    /** 类型 */
    type: "layer" | "widget";
    /** 触发方式 */
    eventType: string;
    /** 延迟 */
    delay: number;
    /** 条件 */
    condition: {
        type: "and" | "or";
        list: {
            id: string;
            type: "field" | "custom";
            conditionName: string;
            conditionExpression: string;
            conditionValue: any;
            customValue: string;
        }[];
    };
    /** 事件过滤 */
    filterCode: string;
    /** 接收的方法 */
    receivingMethod?: string;
    /** 全局api接口拦截 */
    globalApiListenter: {
        url: string;
        type: "include" | "exclude" | "equal" | "notEqual";
    };
    /** 事件行为 */
    actions?: string;
    /** 页面行为 */
    pageAction: {
        target: string;
        pageId: string;
        parameter: string;
    };
    /** 跳转子页面行为 */
    switchViewAction: {
        viewId: string;
    };
    /** 链接行为 */
    linkAction: {
        target: string;
        url: string;
    };
    /** 发送API数据行为 */
    sendAPIAction: {
        useDataSource: any;
    };
    /** 切换状态行为 */
    stateAction: {
        speed: string;
        duration: number;
        delay: number;
        toggle: boolean;
        stateList: string[];
    };
    /** 移动行为 */
    moveAction: {
        layerIds: string[];
        x: number;
        y: number;
        speed: string;
        duration: number;
        delay: number;
    };
    /** 缩放行为 */
    scaleAction: {
        layerIds: string[];
        origin: string;
        x: number;
        y: number;
        speed: string;
        duration: number;
        delay: number;
    };
    /** 旋转行为 */
    rotateAction: {
        layerIds: string[];
        x: number;
        y: number;
        z: number;
        perspective: number;
        speed: string;
        duration: number;
        delay: number;
    };
    /** 组件显示隐藏行为 */
    visibledAction: {
        status: string;
        layerIds: string[];
    };
    /** 更新数据变量行为 */
    updateVariableAction: {
        name: string;
        dataType: "params" | "custom";
        useDataSource: any;
    };
    /** 刷新数据变量行为 */
    refreshVariableAction: {
        name: string;
    };
    /** 全屏切换行为 */
    fullscreenAction: {
        status: string;
    };
    /** 调用方法行为 */
    invokeAction: {
        targetLayerId: string;
        functionName: string;
        functionArgs: any;
    };
    /** 虚幻蓝图方法行为 */
    ueShjExecMethodAction: {
        functionName: string;
        dataType: "params" | "custom";
        useDataSource: any;
        escape: boolean;
    };
    /** 虚幻WebSocket行为 */
    ueCommonsWebscoketAction: {
        socketUrl: string;
        dataType: "params" | "custom";
        useDataSource: any;
        escape: boolean;
    };
    /** UnityWebGl场景方法行为 */
    unityWebglExecMethodAction: {
        dataType: "params" | "custom";
        objectName: string;
        functionName: string;
        useDataSource: any;
    };
    /** UnityIframe场景方法行为 */
    unityIframeExecMethodAction: {
        dataType: "params" | "custom";
        objectName: string;
        functionName: string;
        useDataSource: any;
    };
    /** 切换全景场景行为 */
    vrSceneMethodAction: {
        type: string;
        sceneId: string;
        angle: {
            pitch: number;
            yaw: number;
            hfov: number;
        };
    };
    /** 更新组件行为 */
    updateWidget: {
        targetLayerId: string;
    };
    /** 动画 */
    animations: {
        enter: {
            name: string;
            duration: number;
            delay: number;
            count: number;
        };
        exit: {
            name: string;
            duration: number;
            delay: number;
            count: number;
        };
    };
}
export interface IEventV2 {
    id: string;
    name: string;
    type: "layer" | "widget";
    eventType: string;
    delay: number;
    condition: {
        type: "and" | "or";
        list: {
            id: string;
            type: "field" | "custom";
            conditionName: string;
            conditionExpression: string;
            conditionValue: any;
            customValue: string;
        }[];
    };
    filterCode: string;
    actionsList: {
        id: string;
        type: string;
        action: {
            [key: string]: any;
        };
    }[];
    receivingMethod?: string;
    globalApiListenter: {
        url: string;
        type: "include" | "exclude" | "equal" | "notEqual";
    };
}
export interface ILinkAction {
    target: string;
    url: string;
}
export interface IInvokeAction {
    targetLayerId: string;
    functionName: string;
    functionArgs: any;
}
export interface IFullScreenAction {
    status: "fullscreen" | "window" | "toggle";
}
export interface IMoveAction {
    layerIds: string[];
    x: number;
    y: number;
    speed: string;
    duration: number;
    delay: number;
}
export interface IRotateAction {
    layerIds: string[];
    x: number;
    y: number;
    z: number;
    perspective: number;
    speed: string;
    duration: number;
    delay: number;
}
export interface IScaleAction {
    layerIds: string[];
    origin: string;
    x: number;
    y: number;
    speed: string;
    duration: number;
    delay: number;
}
export interface IRefreshVariableAction {
    name: string;
    refreshLinkComponents: boolean;
}
export interface ISendApiAction {
    useDataSource: any;
}
export interface IUeCommonsWebscoketAction {
    dataType: "params" | "custom";
    useDataSource: any;
    escape: boolean;
}
export interface IUeShjExecMethodAction {
    functionName: string;
    dataType: "params" | "custom";
    useDataSource: any;
    escape: boolean;
}
export interface IUnityWebglExecMethodAction {
    dataType: "params" | "custom";
    objectName: string;
    functionName: string;
    useDataSource: any;
}
export interface IUnityIframeExecMethodAction {
    dataType: "params" | "custom";
    objectName: string;
    functionName: string;
    useDataSource: any;
}
export interface IUpdateWidgetAction {
    targetLayerId: string;
}
export interface IUpdateVariableAction {
    name: string;
    refreshLinkComponents: boolean;
    dataType: "params" | "custom";
    useDataSource: any;
}
export interface IPageAction {
    pageId: string;
    parameter: string;
    target?: string;
}
export interface IUpdatePageAction {
}
export interface IVrSceneMethodAction {
    type: string;
    sceneId: string;
    angle: {
        pitch: number;
        yaw: number;
        hfov: number;
    };
}
export interface IStateAction {
    speed: string;
    duration: number;
    delay: number;
    toggle: boolean;
    stateList: string[];
}
export interface ISwitchViewAction {
    viewId: string;
}
export interface IVisibledAction {
    status: string;
    layerIds: string[];
    animations: {
        enter: {
            name: string;
            duration: number;
            delay: number;
            count: number;
        };
        exit: {
            name: string;
            duration: number;
            delay: number;
            count: number;
        };
    };
}
