import { SelectableValue } from '@grafana/data'; import { IconName } from '../../types/icon'; import { ComponentSize } from '../../types/size'; import { ButtonFill, ButtonVariant } from '../Button/Button'; export interface ValuePickerProps { /** Aria label applied to the input field */ ['aria-label']?: string; /** Label to display on the picker button */ label: string; /** Icon to display on the picker button */ icon?: IconName; /** ValuePicker options */ options: Array>; /** Callback to handle selected option */ onChange: (value: SelectableValue) => void; /** Which ButtonVariant to render */ variant?: ButtonVariant; /** Size of button */ size?: ComponentSize; /** Min width for select in grid units */ minWidth?: number; /** Should the picker cover the full width of its parent */ isFullWidth?: boolean; /** Control where the menu is rendered */ menuPlacement?: 'auto' | 'bottom' | 'top'; /** Which ButtonFill to use */ fill?: ButtonFill; /** custom css applied to the button */ buttonCss?: string; } /** * A component that looks like a button but transforms into a select when clicked. * * https://developers.grafana.com/ui/latest/index.html?path=/docs/pickers-valuepicker--docs */ export declare function ValuePicker({ 'aria-label': ariaLabel, label, icon, options, onChange, variant, minWidth, size, isFullWidth, menuPlacement, fill, buttonCss, }: ValuePickerProps): import("react/jsx-runtime").JSX.Element;