import React, { Ref } from 'react'; import { SelectOption, SelectOptionType } from '../../types'; export declare type OptionProps = { disabled?: boolean; highlightedText: string; onSelect: (data: T) => void; onKeyDown?: (e: React.KeyboardEvent) => void; option: T; optionStyle: 'checkmark' | 'checkbox'; optionType: SelectOptionType; selected: boolean; className?: string; optionRef?: Ref; enableSubLabelSearch?: boolean; }; declare const Option: { ({ disabled, highlightedText, onSelect, onKeyDown, option, optionStyle, optionType, selected, className, optionRef, enableSubLabelSearch, }: OptionProps): JSX.Element; displayName: string; }; export default Option;