import React from 'react'; import { CategoryTreeNode } from '../../Utils/CategoryUtils'; import { LinksPosition, CheckboxTreeStyleSpec } from '@veupathdb/coreui/dist/components/inputs/checkboxes/CheckboxTree/CheckboxTree'; declare type ChangeHandler = (ids: string[]) => void; declare type NodePredicate = (node: CategoryTreeNode) => boolean; declare type Props = { title?: string; name?: string; /** Hide nodes for which predicate function returns false */ visibilityFilter?: NodePredicate; autoFocusSearchBox?: boolean; searchBoxPlaceholder: string; tree: CategoryTreeNode; /** String name representing what is being searched */ leafType: string; selectedLeaves: string[]; currentSelection?: string[]; defaultSelection?: string[]; expandedBranches: string[]; searchTerm: string; searchIconName?: 'search' | 'filter'; searchIconPosition?: 'left' | 'right'; renderNode?: (node: CategoryTreeNode, path?: number[]) => React.ReactNode; isMultiPick?: boolean; onChange: ChangeHandler; onUiChange: ChangeHandler; onSearchTermChange: (term: string) => void; renderNoResults?: (searchTerm: string, tree: CategoryTreeNode) => React.ReactNode; isSelectable?: boolean; disableHelp?: boolean; linksPosition?: LinksPosition; showSearchBox?: boolean; containerClassName?: string; styleOverrides?: CheckboxTreeStyleSpec; /** * Used to apply styling to a container that wraps the CheckboxTree * If omitted, the container uses the sharedCheckboxTreeContainerStyleSpec default styles */ type?: 'headerMenu' | 'searchPane'; }; declare const _default: import("../../Utils/ComponentUtils").ComponentWrapper; export default _default; //# sourceMappingURL=CategoriesCheckboxTree.d.ts.map