export default OrgUnitTree; declare class OrgUnitTree extends React.Component { constructor(props: any); loadChildren(): void; handleSelectClick(e: any): void; setChildState(children: any): void; handleSelectableLevel: (selectableLevels: any, currentOu: any) => boolean; shouldIncludeOrgUnit(orgUnit: any): boolean; renderChild(orgUnit: any, expandedProp: any): JSX.Element | null; renderChildren(): JSX.Element | (JSX.Element | null)[] | null; } declare namespace OrgUnitTree { namespace propTypes { const api: PropTypes.Validator; const root: PropTypes.Validator; const selected: PropTypes.Requireable; const initiallyExpanded: PropTypes.Requireable; const onSelectClick: PropTypes.Requireable<(...args: any[]) => any>; const typeInput: PropTypes.Requireable; const selectableLevels: PropTypes.Requireable<(number | null | undefined)[]>; const selectOnClick: PropTypes.Requireable; const onChangeCurrentRoot: PropTypes.Requireable<(...args: any[]) => any>; const currentRoot: PropTypes.Requireable; const onChildrenLoaded: PropTypes.Requireable; fn: PropTypes.Requireable<(...args: any[]) => any>; }>>; const labelStyle: PropTypes.Requireable; const labelChildren: PropTypes.Requireable<(...args: any[]) => any>; const selectedLabelStyle: PropTypes.Requireable; const idsThatShouldBeReloaded: PropTypes.Requireable<(string | null | undefined)[]>; const arrowSymbol: PropTypes.Requireable; const hideCheckboxes: PropTypes.Requireable; const hideMemberCount: PropTypes.Requireable; const orgUnitsPathsToInclude: PropTypes.Requireable; const selectableIds: PropTypes.Requireable<(string | null | undefined)[]>; const disabled: PropTypes.Requireable; } namespace defaultProps { const selected_1: never[]; export { selected_1 as selected }; const initiallyExpanded_1: never[]; export { initiallyExpanded_1 as initiallyExpanded }; const onSelectClick_1: undefined; export { onSelectClick_1 as onSelectClick }; const selectableLevels_1: never[]; export { selectableLevels_1 as selectableLevels }; const onChangeCurrentRoot_1: undefined; export { onChangeCurrentRoot_1 as onChangeCurrentRoot }; const currentRoot_1: undefined; export { currentRoot_1 as currentRoot }; const onChildrenLoaded_1: undefined; export { onChildrenLoaded_1 as onChildrenLoaded }; const labelStyle_1: {}; export { labelStyle_1 as labelStyle }; const labelChildren_1: null; export { labelChildren_1 as labelChildren }; const selectedLabelStyle_1: {}; export { selectedLabelStyle_1 as selectedLabelStyle }; const typeInput_1: undefined; export { typeInput_1 as typeInput }; const selectOnClick_1: boolean; export { selectOnClick_1 as selectOnClick }; const idsThatShouldBeReloaded_1: never[]; export { idsThatShouldBeReloaded_1 as idsThatShouldBeReloaded }; const arrowSymbol_1: undefined; export { arrowSymbol_1 as arrowSymbol }; const hideCheckboxes_1: boolean; export { hideCheckboxes_1 as hideCheckboxes }; const hideMemberCount_1: boolean; export { hideMemberCount_1 as hideMemberCount }; const orgUnitsPathsToInclude_1: null; export { orgUnitsPathsToInclude_1 as orgUnitsPathsToInclude }; const disabled_1: boolean; export { disabled_1 as disabled }; } } import React from "react"; import PropTypes from "prop-types";