export default class OrgUnitsSelector extends React.Component { static propTypes: { api: PropTypes.Validator; onChange: PropTypes.Validator<(...args: any[]) => any>; selected: PropTypes.Validator<(string | null | undefined)[]>; initiallyExpanded: PropTypes.Requireable<(string | null | undefined)[]>; levels: PropTypes.Requireable<(number | null | undefined)[]>; rootIds: PropTypes.Requireable<(string | null | undefined)[]>; listParams: PropTypes.Requireable; labelChildren: PropTypes.Requireable<(...args: any[]) => any>; controls: PropTypes.Requireable; filterByGroup: PropTypes.Requireable; filterByProgram: PropTypes.Requireable; selectAll: PropTypes.Requireable; }>>; withElevation: PropTypes.Requireable; height: PropTypes.Requireable; hideCheckboxes: PropTypes.Requireable; fullWidth: PropTypes.Requireable; square: PropTypes.Requireable; singleSelection: PropTypes.Requireable; selectableIds: PropTypes.Requireable<(string | null | undefined)[]>; showShortName: PropTypes.Requireable; showNameSetting: PropTypes.Requireable; onUseShortNamesChange: PropTypes.Requireable<(...args: any[]) => any>; onChildrenLoaded: PropTypes.Requireable; fn: PropTypes.Requireable<(...args: any[]) => any>; }>>; disabled: PropTypes.Requireable; }; static defaultProps: { levels: null; labelChildren: null; controls: { filterByLevel: boolean; filterByGroup: boolean; filterByProgram: boolean; selectAll: boolean; }; withElevation: boolean; height: number; hideCheckboxes: boolean; fullWidth: boolean; square: boolean; singleSelection: boolean; selectableIds: undefined; showShortName: boolean; showNameSetting: boolean; disabled: boolean; }; static childContextTypes: { api: PropTypes.Validator; }; constructor(props: any); contentsStyle: { height: any; display: string; overflowY: string; }; queryRoots({ search }: { search: any; }): any; getRoots({ search }?: { search: any; }): any; getChildContext(): { api: any; }; handleSelectionUpdate: (newSelection: any) => void; handleOrgUnitClick: (root: any, event: any, orgUnit: any) => void; handleChildrenLoaded: (root: any, children: any) => void; renderOrgUnitSelectTitle: () => JSX.Element; changeRoot: (currentRoot: any) => void; filterOrgUnits: (search: any) => Promise; changeLevel: (level: any) => void; changeOrgUnitGroup: (orgUnitGroupId: any) => void; changeProgram: (programId: any) => void; onUseShortNamesChange: () => void; } import React from "react"; import PropTypes from "prop-types";