/// declare module 'zent/lib/sku' { interface ISKUItem { id: number text: string } interface ISKUProps { className?: string value?: Array disabled?: string|boolean maxSize?: number maxSKUTextLength?: number maxLeafTextLength?: number skuTree?: Array optionValue?: string optionText?: string onFetchGroup?: () => Promise onFetchSKU?: () => Promise onCreateGroup?: () => Promise onCreateSKU?: () => Promise onChange?: Function prefix?: string } class SKU extends React.Component { static flatten(sku: Array, items: Array, options: { optionValue: string optionText: string }): Array } export default SKU }