import { type UseComboboxStateChangeTypes } from 'downshift'; import { type SelectableValue } from '@grafana/data'; import { type ComboboxOption } from './types'; export declare const isNewGroup: (option: ComboboxOption, prevOption?: ComboboxOption) => boolean; export declare const isKeyboardEvent: (type: UseComboboxStateChangeTypes) => boolean; /** * returns a ComboboxOption from a SelectableValue, or undefined if it could not be converted. * @param v - The SelectableValue to convert. * @returns The ComboboxOption, or undefined if it could not be converted. */ export declare const selectableValueToComboboxOption: (v: SelectableValue) => ComboboxOption | undefined;