import { EnumOption } from '@jsonforms/core'; import { ChangeEvent } from 'react'; /** * `value` is the current value, `options` is the list of options, `isNative` toggles native select, * and `nativeProps.onChange` is called when the value changes. Returns the props with the value array * of value/label pairs for each option. */ export declare function useSelectProps(value: string | string[] | undefined | null, options: EnumOption[], isNative?: boolean, { onChange }?: { onChange?: (value: string | undefined) => void; }): { data: EnumOption[]; value: string | string[]; onChange: (event: ChangeEvent) => void; searchable?: undefined; } | { data: EnumOption[]; value: string | string[] | null; searchable: boolean; onChange?: undefined; };