import { CascaderOptionType, CascaderProps } from 'antd/lib/cascader';
import { SelectProps } from 'antd/lib/select';
import { AntTreeNodeProps, TreeProps } from 'antd/lib/tree';
export interface YGoodsCategoriesProps<VT> {
    originalProps: TreeProps | CascaderProps | SelectProps<VT>;
    config: YGoodsCategoriesConfig;
    /** 选择完成后的回调 */
    onChange: (value: any) => void;
}
export interface YGoodsCategoriesConfig {
    mode?: 'singe' | 'cascader' | 'tree';
    parentNo?: string;
    isShowAll?: false | true;
    selectAllText?: string;
    multiple?: boolean;
    multipleConfig?: any | GoodsCategoriesMultipleConfigItem;
}
export interface GoodsCategoriesCascaderModeOption extends CascaderOptionType {
    value: string;
    label: string;
    orgData: string;
    isLeaf: true | false;
}
export interface GoodsCategoriesTreeNodeProps extends AntTreeNodeProps {
    title: string;
    key: string;
    isLeaf?: boolean;
    orgData?: string;
    children?: GoodsCategoriesTreeNodeProps[];
    categoryNoPath: string;
}
export interface GoodsCategoriesMultipleConfigItem {
    addBtnLabel?: string;
    btnConfig?: any;
}
export interface GoodsCategoriesValueItem {
    categoryName: string;
    categoryNo: string;
    parentNo: string;
    categoryNoPath: string;
    hasChild: 0 | 1;
    level: number;
    isLeaf: number;
    icon?: string;
}
//# sourceMappingURL=goodsCategories.interface.d.ts.map