import { PureComponent } from 'react'; import { ListProps } from './Props'; import { KeygenResult } from '../@types/common'; declare class List extends PureComponent> { static defaultProps: { id: string; line: boolean; className: string; }; bindLines: (el: HTMLDivElement) => void; bindList: (el: HTMLDivElement) => void; lines: HTMLDivElement; element: HTMLDivElement; hasExpanded: boolean; constructor(props: ListProps); getKey(data: DataItem, index: number): KeygenResult | DataItem[import("../@types/common").ObjectKey]; bindElement(name: 'lines' | 'element', el: HTMLDivElement): void; renderNode(child: DataItem, index: number): JSX.Element; render(): JSX.Element | null; } export default List;