import React from 'react';
import './index.less';
interface ProductSelectProps {
    dataSource: any[];
    showSearch?: boolean;
    showTab?: boolean;
    layout?: {
        grid: boolean;
        config: string;
    };
    onChange: (value: any, type?: string) => void;
    value?: number;
    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;
    /** tab切换模式 */
    tabSwitchMode?: 'switch' | 'anchor';
    /** 场景类型：决定渲染卡片样式 */
    scenario?: 'booking2' | 'default';
    /** 紧凑模式：用于移动端缩小列表 padding 和间距 */
    compact?: boolean;
}
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, tabSwitchMode, scenario, compact, ...rest }: ProductSelectProps) => JSX.Element;
export default index;
