import { ReactElement } from 'react';
import 'antd/lib/icon/style/css';
import './SideList.less';
import 'antd/lib/modal/style/css';
import 'antd/lib/tooltip/style/css';
import 'antd/lib/spin/style/css';
interface IItem {
    id: number | string;
    name: string;
    /** 是否显示删除按钮 */
    allowDelete?: boolean;
}
interface IProps {
    icon?: ReactElement<any>;
    list: IItem[];
    onSelect: (id: number | string, item: IItem) => void;
    onDelete?: (item: IItem) => void;
    selectedId?: number | string;
    showTooltip?: boolean;
    loading?: boolean;
}
declare const SideList: {
    (props: IProps): JSX.Element;
    defaultProps: {
        icon: JSX.Element;
    };
};
export default SideList;
