import { Component } from 'react'; import './index.less'; interface RecommendProps { prefixCls?: string; data: any[]; onItemClick: (data: any) => {}; } interface RecommendState { products: []; } export default class Recommend extends Component { static defaultProps: { prefixCls: string; data: never[]; }; constructor(props: any); componentDidMount(): void; dataAdapter: (data: any) => any; resetProducts: (sourceType: any, params?: any) => void; getTabSource: (data: any) => any; onTabChange: (value: any) => void; onProdClick: (data: any) => void; render(): JSX.Element; } export {};