import type { ReactNode } from 'react'; import { InputWithOptionsProps } from '../InputWithOptions'; import { DropdownLayoutValueOption } from '../DropdownLayout'; export type AutoCompleteProps = InputWithOptionsProps & { /** Defines a callback predicate for the filtering options function. */ predicate?: (option: DropdownLayoutValueOption, index: number, array: DropdownLayoutValueOption[]) => boolean; /** Defines a message to be displayed instead of options when no options exist or no options pass the predicate filter function. */ emptyStateMessage?: ReactNode; /** Defines a callback function which is called when no options exist.*/ onEmptyState?: () => void; }; //# sourceMappingURL=AutoComplete.types.d.ts.map