import { HTMLAttributes, MutableRefObject } from "react"; import { UseSelectGetItemPropsOptions } from "downshift"; import { SelectOption } from "./types"; interface CreatableOptionProps extends HTMLAttributes { label: string; isCreatable: boolean; optionIndexRef: MutableRefObject; setOptionIndex: (newIndex: number) => void; highlightedIndex: number; getItemProps: (options: UseSelectGetItemPropsOptions) => any; creatableOption: T; } export declare function CreatableOption({ onClick, optionIndexRef, setOptionIndex, highlightedIndex, label, isCreatable, getItemProps, creatableOption, }: CreatableOptionProps): JSX.Element | null; export {};