import type { openEventPanelType } from '../../Editor/hooks/useEvent'; import { EditorViewProps } from '../../Editor/interface'; import { onOpenDataSourcePanelType } from '../../Editor/hooks/useDataSource'; export interface EventNode { eventDataMap?: (data: any[]) => void; changeEventData?: (data: any) => void; updateCompSetEvents?: (data: any[]) => void; } export declare const EventPanelType: { readonly NormalEvent: "NormalEvent"; readonly CustomEvent: "CustomEvent"; }; export declare type EventPanelTypeKey = keyof typeof EventPanelType; export declare const OpenAcionType: { readonly ADD: "ADD"; readonly EDIT: "EDIT"; }; export interface OpenEventPanelParams { selectedCustomEvent?: Record; initSelEventVal?: string; initSelActionDataId?: string; actionType?: keyof typeof OpenAcionType; isViewMode?: boolean; } export interface CompEventProps { eventVisible?: boolean; saveLoading: boolean; hideEvent: () => void; type: EventPanelTypeKey; value?: OpenEventPanelParams; canSave: boolean; onSavePreviewHandle?: (isDebug?: boolean) => void; onOpenDataSourcePanel: onOpenDataSourcePanelType; customType?: string; editStatus?: EditorViewProps['editStatus']; setRightTabActiveKey: (key: any) => void; customEventEdit?: any; openEventPanel: openEventPanelType; useGetServiceDetails?: (params: T) => { getServiceDetails?: (p: T) => void; }; }