import { ReactNode, CSSProperties } from "react";
import Sortable from "sortablejs";
interface IBox {
    title: string;
    data: ItemDataProps[];
    multiple: boolean;
    onSearch: (e: string, direction: "left" | "right") => void;
    onchange: (e: any, bol: boolean, index: number, direction: "left" | "right", multiple: boolean) => void;
    onMove: (direction: "left" | "right") => void;
    queryAll: (e: any, direction: any) => void;
    inverse: (direction: any) => void;
    direction: "left" | "right";
    fluctuationPosition?: number;
    fluctuationOrther?: number;
    onEndSort?: (oldIndex: any, newIndex: any) => void;
    rightIcon?: (item: ItemDataProps) => ReactNode;
    style: CSSProperties | undefined;
    customKey: string;
}
export interface ItemDataProps {
    /** 唯一值,用来过滤 */
    key?: string;
    /** 显示名 */
    name?: string;
    /** 描述 */
    description?: string;
    /** 是否选中 */
    checked?: boolean;
    /** 是否禁用 */
    disabled?: boolean;
    /** 是否隐藏 */
    hide?: boolean;
    tagColor?: string;
    [name: string]: any;
}
export declare const Box: (props: IBox) => JSX.Element;
export default Box;
export declare const Sortablejs: typeof Sortable;
