import { ComputedRef, Ref } from 'vue'; /** * Create the standard onDragAdd handler used by all container components. * Selects the dragged item in the design form store. */ export declare function useDragAdd(designForm?: any): { onDragAdd: (evt: Event | any, dataList: any) => void; }; export declare function useDropGuard(parentItemType: string | (() => string)): { moveHandler: (evt: any) => boolean; guardAdd: (dataList: any[], newIndex: number) => boolean; }; /** * Ensure a data object has an array at the given key (default "items"). * Used by checkItem in container components. */ export declare function ensureItems(adata: any, key?: string): void; /** * Create a checkItem function that ensures the given key exists. * Supports card-container's dual-key (header/body) pattern. */ export declare function createCheckItem(defaultKey?: string): (adata: any, type?: string) => void; /** * Computed row height based on compSize. * Shared by box-col, box-container, dytable-col, table-container. */ export declare function useRowHeight(compSize: Ref | ComputedRef | (() => string)): ComputedRef<"45px" | "35px" | "40px">; /** * Dialog/Drawer panel state management. * Shared by dialog-container and drawer-container. */ export declare function usePanelState(formData: Ref, field: Ref | (() => any)): { visible: Ref; tempFormData: Ref; handleOpen: () => void; handleClose: () => void; }; /** * Create a child node for condition-container / condition-node. * @param index - insertion index * @param withItems - whether to include an items array */ export declare function createChildNode(index: number, withItems?: boolean): any; /** * Remove a leaf node from a condition tree. */ export declare function removeLeaf(items: any[], index: number): void; /** * Compute CSS class for condition node depth. */ export declare function levelClass(data: any, depth: number): string;