import { type ICatalogItemPickerProps } from "./types.js"; /** * Encapsulates all state, derived data and event handlers of the catalog item picker. * * It is shared between {@link CatalogItemPicker} (which wraps the body with a header) and * {@link CatalogItemPickerBody} (the header-less search + grouped list, reused e.g. in the ranking * filter measure dropdown). * * @internal */ export declare function useCatalogItemPicker({ itemTypes, selectionMode, attributeItems, metricItems, groups, isOpen, isLoading, onClose, onAdd, onSelect, variant, renderItemDetails, }: ICatalogItemPickerProps): { listboxId: string; labels: import("./useCatalogItemPickerListboxItems.js").ICatalogItemPickerLabels; searchString: string; handleSearchChange: (value: string | number) => void; handleSearchEscKeyPress: (e: import("react").KeyboardEvent) => void; showTabs: boolean; effectiveType: import("./types.js").CatalogItemPickerType; resolvedItemTypes: import("./types.js").CatalogItemPickerType[]; handleTabChange: (type: import("./types.js").CatalogItemPickerType) => void; listboxItems: import("./listboxItemBuilders.js").CatalogItemListboxItem[]; handleListboxSelect: (item: import("../index.js").IUiListboxInteractiveItem>) => void; isMultiSelect: boolean; isAddDisabled: boolean; handleAdd: () => void; shouldShowEmptyStateMessage: boolean; emptyMessage: string; isLoading: boolean; selectionMode: import("./types.js").CatalogItemPickerSelectionMode; variant: "addFilter" | "mvf"; renderItemDetails: ((item: import("./types.js").ICatalogItemPickerItem) => import("react").ReactNode) | undefined; }; /** * Return type of {@link useCatalogItemPicker}. * * @internal */ export type CatalogItemPickerController = ReturnType>; //# sourceMappingURL=useCatalogItemPicker.d.ts.map