import * as React from "react"; import "./SelectNested.scss"; interface IOption { id: number; title: string; details: string[]; children?: IOption[]; disabled?: boolean; } export { IOption as ISelectNestedOption }; interface IProps { options: IOption[]; submitBtnText: string; cancelBtnText: string; showSubgroupBtnText: string; selectedOption?: IOption; onChange?: (option: IOption) => void; className?: string; } interface IState { filter: string; isOpen: boolean; selectedOption: IOption | null; markedOption: IOption | null; } export declare class SelectNested extends React.PureComponent { state: { filter: string; isOpen: boolean; selectedOption: IOption | null; markedOption: IOption | null; }; wrapRef: React.RefObject; renderOption: (option: IOption) => JSX.Element; renderDropdownList: (options: IOption[]) => JSX.Element; renderDropdown: (options: IOption[]) => JSX.Element; handleToggle: (e: React.MouseEvent) => void; handleFilter: (e: React.ChangeEvent) => void; handleWrapRefClick: (e: MouseEvent) => void; handleClickOutside: (e: MouseEvent) => void; markOption: (option: IOption) => (e: React.MouseEvent) => void; handleChoose: (e: React.MouseEvent) => void; componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element; }