/// <reference types="sortablejs" />
import { CSSProperties, ReactNode } from "react";
import { ItemDataProps } from "./box";
import "./style/index.scss";
/**
 * @description: 穿梭框
 * @param className{string} 类名
 * @param style{string} 样式
 * @param data{Array} 数据源
 * @param value{Array} 当前选中的值
 * @param onChange{Function} 值改变时的回调
 * @param title{String} 标题
 *
 */
interface TransferProps {
    className?: string;
    style?: CSSProperties;
    data?: Array<ItemDataProps>;
    value?: Array<string>;
    onChange?: (data: Array<string>) => void;
    onSort?: (data: Array<string>) => void;
    titles?: Array<string>;
    trim?: boolean;
    multiple?: boolean;
    rightIcon?: (item: ItemDataProps) => ReactNode;
    render?: (data: ItemDataProps) => void;
    customKey?: string;
}
export declare const Transfer: (props: TransferProps) => JSX.Element;
export default Transfer;
export type IItemDataProps = ItemDataProps;
export declare const SSortablejs: typeof import("sortablejs");
