import React, { FC, CSSProperties, ReactNode } from 'react'; import { Suggestions } from './types'; export interface IFormikUiAutocompleteProps { /** Sets the Name of the Autocomplete */ name: string; /** Array of suggestions to be searchred in */ suggestions: Suggestions; /** Adds a custom class to the Autocomplete input element */ className?: string; /** Adds a custom inline styles to the input element */ style?: CSSProperties; /** Sets an Id for the Input Field, if not passed, the id will be the name */ id?: string; /** Sets the main Label for the Input Field */ label?: ReactNode; /** Sets the Placeholder text */ placeholder?: string; /** Disables the Input Field */ disabled?: boolean; /** Sets a hint text after/below the Input Field */ hint?: string; /** Sets the field as requierd, if label is passed, an * is added to the end of the main label. Validation will only work if you pass the required() method in the yup validation schema */ required?: boolean; } export declare const Autocomplete: FC; declare const _default: React.ElementType; export default _default;