import React from 'react';
import './index.less';
interface ProductSelectProps {
    dataSource: any[];
    showSearch?: boolean;
    showTab?: boolean;
    layout?: {
        grid: boolean;
        config: string;
    };
    onChange: (value: any, type?: any) => void;
    value?: any;
    loading?: boolean;
    style?: React.CSSProperties;
    emptyDescription?: string;
    /** 当前滚动元素 */
    scrollDom?: string;
    /** 商品列表上方的其它组件 */
    offsetDom?: any;
    /** 样式变量 */
    token?: Partial<any>;
    /** 后台装修单选模式下的已选中项 */
    selectedItems?: Array<any>;
    /** 后台装修配置 */
    productListSetting?: Partial<any>;
    /** 兼容scrollDom */
    customScrollParent?: HTMLElement | string;
    hideCategoryWhenOne?: boolean;
    /** 协议版本：v2 时渲染新销售卡片协议 */
    version?: 'v1' | 'v2';
    /** 购物车元素id */
    cartElementId?: string;
}
export declare const PREFIX = "pisell-product-select";
declare const index: ({ dataSource, emptyDescription, showSearch, scrollDom, offsetDom, style, token: customToken, onChange, value, selectedItems, productListSetting, customScrollParent, loading, layout, hideCategoryWhenOne, version, cartElementId, ...rest }: ProductSelectProps) => JSX.Element;
export default index;
