type BaseMenuItemType = { label: string; value: string; subMenu?: BaseMenuItemType[]; }; type BaseMenuGroupType = { groupLabel?: string; items: T[]; showSeparator?: boolean; }; export declare const hasRenderableSelectItems: (groups: ReadonlyArray<{ items: readonly unknown[]; }>) => boolean; /** * Checks if the search text exactly matches any existing item's label or value * @param searchText - The text to search for * @param groups - Array of menu groups to search in * @returns true if an exact match is found, false otherwise */ export declare const hasExactMatch: (searchText: string, groups: BaseMenuGroupType[]) => boolean; /** * Returns filtered items with optional custom value item appended * @param baseFilteredItems - Already filtered items * @param searchText - Current search text * @param hasMatch - Whether an exact match exists * @param allowCustomValue - Whether custom values are allowed * @param enableSearch - Whether search is enabled * @param customValueLabel - Label prefix for custom value (default: "Specify") * @returns Filtered groups with custom value item if applicable */ export declare const getFilteredItemsWithCustomValue: = BaseMenuGroupType>(baseFilteredItems: G[], searchText: string, hasMatch: boolean, allowCustomValue: boolean, enableSearch: boolean, customValueLabel?: string) => G[]; export {};