import React from 'react'; import { IntlShape } from 'react-intl'; import { SelectOption } from '../../utils/select-utils'; type Props = { /** Never show clear button */ disableClear?: boolean; /** Set field disabled */ disabled?: boolean; /** @ignore */ intl: IntlShape; /** Name of the `option` key that stands for option label _(visible to user)_ */ labelKey?: string; /** Field name */ name: string; /** Is fired when field loses focus */ onBlur?: () => void; /** * Is fired when field value changes * * @param {string} value New value */ onChange: (value?: string, index?: number) => void; /** * Select options. Option format: {_labelKey_: [label], _valueKey_: [value]} * * @param {(string|Object)} label Option label _(string or translation id)_ * @param {string} value Option value */ options: SelectOption[]; /** Field placeholder text _(string or translation id)_ */ placeholder?: string; /** Field value */ value?: string; /** Name of the `option` key that stands for option value _(invisible to user)_ */ valueKey?: string; selectedOptionIndex: number; }; export declare const TempMenu: React.FC> & { WrappedComponent: React.ComponentType; }; export {};