import React from 'react'; import { AutocompleteProps } from '@mui/material'; import { TOption } from "../types/Option"; export interface IAutocompleteProps extends Omit, 'renderInput' | 'defaultValue'> { name: string; className?: string; label?: React.ReactNode; onCreateOption?: (inputValue: string) => Promise | TOption; getCreateOptionLabel?: (inputValue: string) => string; defaultValue?: TOption['value'] | TOption['value'][]; onChangeCb?: (value: TOption | TOption[]) => void; } export declare const AutocompleteField: ({ name, label, onCreateOption, getCreateOptionLabel, onChangeCb, defaultValue, ...rest }: IAutocompleteProps) => JSX.Element;