import type { CollectionComposer, DataItem } from '@refinitiv-ui/utils/collection.js'; import type { ItemData } from '../../item'; import type { TreeManager } from '../../tree'; /** * Predicate callback * Matches item against filter function * * @param item Item to filter * @return Does item match filter */ export type ComboBoxFilter = (item: T, context?: CollectionComposer | TreeManager) => boolean; export type ComboBoxData = T[] | Promise;