import useNodeAction from './useNodeAction'; import useDragState from './useDragState'; import useCompCreators from './useCompCreators'; import useDragComp from './useDragComp'; import useKeydown from './useKeydown'; import useGetEventNameMap from './useGetEventNameMap'; import useCreateId from './useCreateId'; import usePageData from './usePageData'; import useBusinessCompData from './useBusinessCompData'; import useMove from './useMove'; import usePageDetailData from './usePageDetailData'; export { useNodeAction, useDragState, useCompCreators, useDragComp, useKeydown, useGetEventNameMap, useCreateId, usePageData, useBusinessCompData, useMove, usePageDetailData, }; declare const _default: { useNodeAction: (DSLCore?: import("@lingxiteam/dsl/lib/core/DSLQuery").DSLQuery | undefined) => { addComponent({ targetId, dragId, }: { dragId: string; targetId: string; dropIndex?: number | undefined; }): void; updateComponent(comp: any): void; addComponentToFormContainer: ({ compName, busiCompName, busiCompId, label, formContainerId, formItemIndex, dragCompId, dragItem, containerId, }: { compName?: string | undefined; busiCompName?: string | undefined; busiCompId?: string | undefined; label?: string | undefined; formContainerId: string; formItemIndex?: number | undefined; dragCompId?: string | undefined; dragItem: any; containerId: string; }, replacer?: ((comp: any) => any) | undefined) => void; addSingleCompByCreator({ compName, busiCompName, busiCompId, label, id, dropIndex, inContainer, dragItem, }: import("./useNodeAction").AddComponentType, replacer?: ((comp: any) => any) | undefined): void; moveComponent: (dragComp: any, hoverComp: any, position: import("../PageZone/types").DropPosition) => void; copyComponent(id: string, showMsg?: boolean): void; pasteComponentTo(curNode: import("@lingxiteam/dsl/lib/core/node/Node").default | null | undefined, pasteReplacer?: ((e: import("@lingxiteam/dsl").CopyNodeRepacerType) => import("@lingxiteam/dsl").CopyNodeRepacerType) | undefined): void; removeComponent(node: string | import("@lingxiteam/dsl/lib/core/node/Node").default, editPageZoneCanRemoveCompBefore?: ((node: import("@lingxiteam/dsl/lib/core/node/Node").default) => boolean) | undefined): void; moveComponentForwardOrBackend(node: string | import("@lingxiteam/dsl/lib/core/node/Node").default, direction?: "forward" | "backend"): void; }; useDragState: () => { updateDraggingState: (params: any) => void; isDragging: boolean; draggingItem: {}; hoverItem: {}; }; useCompCreators: ({ compList, isMobile, fusionMode }: import("./useCompCreators").useCompCreatorsType) => { compCreators: () => import("@lingxiteam/editor-types").CompCreatorType; }; useDragComp: ({ item, canDrag }: import("./useDragComp").useDragCompParams) => { drag: (ref: U, containerType?: import("../utils/localDragUtils/LocalDragUtils").RelateTargetType | undefined, compId?: string | undefined) => U; isDragging: boolean; draggingItem: { [key: string]: any; type: "OBJ_BOX" | "SIDER_BOX" | "PAGE_BOX" | "PAGE_CONTAINER_BOX" | "ROW" | "BLOCK_BOX" | "BUSI_OBJ" | "BUSI_OBJ_ATTR" | "BUSI_OBJ_GROUP" | "EVENT_LIST"; layerTitle?: string | undefined; }; dragPreview: boolean; }; useKeydown: (enableEvent?: boolean) => { stopKeydownListen: () => void; startKeydownListen: () => void; }; useGetEventNameMap: (selectedComp: import("@lingxiteam/dsl/lib/core/node/Node").default | null | undefined) => { compExtendNameMap: {}; getEventItem: (compName: any, value: string) => import("@lingxiteam/types").TodoEventObject | undefined; }; useCreateId: () => { createId: (prefix?: string | undefined, id?: string | undefined, slength?: number | undefined) => string; }; usePageData: (temPageDetailsMap?: { getSync: (pageInfo: any, isNew?: boolean | undefined) => any; getAsync: (pageInfo: any, isNew?: boolean | undefined) => Promise; clear: (pageId?: string | undefined) => void; } | undefined) => { getPageVersionInst: (params: any) => Promise; getPageSearchParams: (pageId: string) => Promise; getCompStates: (pageId: string) => Promise; }; useBusinessCompData: ({ editorPluginInst }: { editorPluginInst: import("../utils/plugin/EditorPlugin").EditorPluginClass; }) => { businessCompDetailMap: { get(key: string): any; getAsync: (key: string, isRefresh?: boolean) => Promise; }; changeTriggerByWindowIsActive: (windowIsActive: boolean) => void; }; useMove: (props: import("./useMove").useMoveProps) => { moving: boolean; }; usePageDetailData: (props: { DSLCore: import("@lingxiteam/dsl/lib/core/DSLQuery").DSLQuery | undefined; pages?: any[] | undefined; editorPluginInst: import("../utils/plugin/EditorPlugin").EditorPluginClass; }) => { pageDetailMap: { getSync: (pageInfo: string | { defaultVersionId?: string | undefined; pageId?: string | undefined; pageInstDTO?: any; pageName?: string | undefined; pageDynamicFlag?: string | undefined; catalogItemId?: string | undefined; busiObjectExtServiceRels?: any; pagePath?: string | undefined; terminalType?: string | undefined; isSharedObject?: string | undefined; }, isNew?: boolean | undefined) => any; getAsync: (pageInfo: string | { defaultVersionId?: string | undefined; pageId?: string | undefined; pageInstDTO?: any; pageName?: string | undefined; pageDynamicFlag?: string | undefined; catalogItemId?: string | undefined; busiObjectExtServiceRels?: any; pagePath?: string | undefined; terminalType?: string | undefined; isSharedObject?: string | undefined; }, isNew?: boolean | undefined) => Promise; clear: (pageId?: string | undefined) => void; }; pageUpdate: number; }; }; export default _default;