export default OrgUnitSelectByLevel; declare class OrgUnitSelectByLevel extends React.Component { constructor(props: any, context: any); levelCache: {}; addToSelection: typeof addToSelection; removeFromSelection: typeof removeFromSelection; handleChangeSelection: typeof handleChangeSelection; getOrgUnitsForLevel(level: any, ignoreCache?: boolean): Promise; handleSelect(): void; handleDeselect(): void; } declare namespace OrgUnitSelectByLevel { namespace propTypes { const levels: PropTypes.Validator; const selected: PropTypes.Validator; const onUpdateSelection: PropTypes.Validator<(...args: any[]) => any>; const onItemSelection: PropTypes.Validator<(...args: any[]) => any>; function currentRoot(props: any, propName: any): Error | undefined; } namespace contextTypes { const api: PropTypes.Validator; } } import React from "react"; import { addToSelection } from "./common"; import { removeFromSelection } from "./common"; import { handleChangeSelection } from "./common"; import PropTypes from "prop-types";