import React from 'react'; import { IntlShape } from 'react-intl'; import { SelectOption } from '../../utils/select-utils'; export type SelectProps = { /** Never show clear button */ disableClear?: boolean; /** Set field disabled */ disabled?: boolean; filterable?: boolean; id?: string; /** @ignore */ intl: IntlShape; /** Name of the `option` key that stands for option label _(visible to user)_ */ labelKey?: string; /** Field name */ name: string; numeric?: boolean; /** Is fired when field loses focus */ onBlur?: (value?: string, event?: React.SyntheticEvent) => void; /** * Is fired when field value changes * * @param {string} value New value */ onChange: (value?: string, event?: React.SyntheticEvent) => 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[]; /** Message displayed when no options present */ noResultMessage?: string; /** 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; }; declare const _default: React.FC> & { WrappedComponent: React.ComponentType; }; export default _default; export declare const WrappedSelect: (props: import("../formField").FormFieldProps) => import("react/jsx-runtime").JSX.Element;