import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import type { BasicOptionProps } from '@douyinfe/semi-foundation/lib/es/select/optionFoundation'; export interface OptionProps extends BasicOptionProps { [x: string]: any; value?: string | number; label?: string | number | React.ReactNode; children?: React.ReactNode; disabled?: boolean; showTick?: boolean; className?: string; style?: React.CSSProperties; } declare class Option extends PureComponent { static isSelectOption: boolean; static propTypes: { children: PropTypes.Requireable; disabled: PropTypes.Requireable; value: PropTypes.Requireable>; selected: PropTypes.Requireable; label: PropTypes.Requireable; empty: PropTypes.Requireable; emptyContent: PropTypes.Requireable; onSelect: PropTypes.Requireable<(...args: any[]) => any>; focused: PropTypes.Requireable; showTick: PropTypes.Requireable; className: PropTypes.Requireable; style: PropTypes.Requireable; onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>; prefixCls: PropTypes.Requireable; renderOptionItem: PropTypes.Requireable<(...args: any[]) => any>; inputValue: PropTypes.Requireable; }; static defaultProps: { prefixCls: string; }; onClick({ value, label, children, ...rest }: Partial, event: React.MouseEvent): void; renderOptionContent({ config, children, inputValue, prefixCls }: { config: any; children: any; inputValue: any; prefixCls: any; }): any; render(): any; } export default Option;