import * as React from 'react'; import { ITreeColumn, ITreeNode } from '../../index'; import { IOption, Value, Mode } from './Select'; interface IProps { searchFields: string[]; mode?: Mode; onSelectNode: (node: ITreeNode) => void | true; onChange?: (value: Value) => void; value?: Value; options: IOption[]; nodes: Array>; columns: ITreeColumn[]; selectedNodes?: string[]; disabledNodes?: string[]; allowClear?: boolean; showSearch?: boolean; placeholder?: string; hasError?: boolean; } interface IState { searchText: string; } export declare class SelectTree extends React.Component, IState> { static defaultProps: { searchFields: string[]; mode: string; allowClear: boolean; }; readonly MIN_SEARCH_STRING_LENGTH = 3; constructor(props: IProps); select(onSelect: () => void): (item: ITreeNode) => void; resetSearch(): void; onSearch(text: string): void; searchFieldsContainValue(node: ITreeNode, value: string): boolean; filterRecursive(data: Array>, text: string): Array>; updateSearchText(text: string): void; renderTable(selectedOptions: IOption[], closeCallback: () => void): JSX.Element; render(): JSX.Element; } export {};