import * as React from 'react'; import { PureComponent } from 'react'; import { Option } from '../../models'; import { CommonWidgetProps } from '../utils'; export interface SelectChangeProps extends CommonWidgetProps { searchable?: any; size?: any; value?: any; onChange?: any; } export interface SelectProps extends SelectChangeProps { nativeSelect?: boolean; options?: Option[]; clearable?: boolean; searchable?: boolean; size?: 'lg' | ''; value?: string | number; autosize?: boolean; onChange?: (value?: string | number) => void; renderOption?: (option: Option) => JSX.Element; } export declare class Select extends PureComponent { static defaultProps: Partial; render(): JSX.Element; renderInput: () => JSX.Element; renderOptions: () => JSX.Element[]; handleOpenMenu: () => void; getOptions: () => { value: string; disabled?: boolean; label: string; selected?: boolean; defaultChecked?: boolean; defaultValue?: string | string[]; suppressContentEditableWarning?: boolean; accessKey?: string; className?: string; contentEditable?: boolean; contextMenu?: string; dir?: string; draggable?: boolean; hidden?: boolean; id?: string; lang?: string; slot?: string; spellCheck?: boolean; style?: React.CSSProperties; tabIndex?: number; title?: string; inputMode?: string; is?: string; radioGroup?: string; role?: string; about?: string; datatype?: string; inlist?: any; prefix?: string; property?: string; resource?: string; typeof?: string; vocab?: string; autoCapitalize?: string; autoCorrect?: string; autoSave?: string; color?: string; itemProp?: string; itemScope?: boolean; itemType?: string; itemID?: string; itemRef?: string; results?: number; security?: string; unselectable?: boolean; children?: React.ReactNode; dangerouslySetInnerHTML?: { __html: string; }; onCopy?: (event: React.ClipboardEvent) => void; onCopyCapture?: (event: React.ClipboardEvent) => void; onCut?: (event: React.ClipboardEvent) => void; onCutCapture?: (event: React.ClipboardEvent) => void; onPaste?: (event: React.ClipboardEvent) => void; onPasteCapture?: (event: React.ClipboardEvent) => void; onCompositionEnd?: (event: React.CompositionEvent) => void; onCompositionEndCapture?: (event: React.CompositionEvent) => void; onCompositionStart?: (event: React.CompositionEvent) => void; onCompositionStartCapture?: (event: React.CompositionEvent) => void; onCompositionUpdate?: (event: React.CompositionEvent) => void; onCompositionUpdateCapture?: (event: React.CompositionEvent) => void; onFocus?: (event: React.FocusEvent) => void; onFocusCapture?: (event: React.FocusEvent) => void; onBlur?: (event: React.FocusEvent) => void; onBlurCapture?: (event: React.FocusEvent) => void; onChange?: (event: React.FormEvent) => void; onChangeCapture?: (event: React.FormEvent) => void; onInput?: (event: React.FormEvent) => void; onInputCapture?: (event: React.FormEvent) => void; onReset?: (event: React.FormEvent) => void; onResetCapture?: (event: React.FormEvent) => void; onSubmit?: (event: React.FormEvent) => void; onSubmitCapture?: (event: React.FormEvent) => void; onInvalid?: (event: React.FormEvent) => void; onInvalidCapture?: (event: React.FormEvent) => void; onLoad?: (event: React.SyntheticEvent) => void; onLoadCapture?: (event: React.SyntheticEvent) => void; onError?: (event: React.SyntheticEvent) => void; onErrorCapture?: (event: React.SyntheticEvent) => void; onKeyDown?: (event: React.KeyboardEvent) => void; onKeyDownCapture?: (event: React.KeyboardEvent) => void; onKeyPress?: (event: React.KeyboardEvent) => void; onKeyPressCapture?: (event: React.KeyboardEvent) => void; onKeyUp?: (event: React.KeyboardEvent) => void; onKeyUpCapture?: (event: React.KeyboardEvent) => void; onAbort?: (event: React.SyntheticEvent) => void; onAbortCapture?: (event: React.SyntheticEvent) => void; onCanPlay?: (event: React.SyntheticEvent) => void; onCanPlayCapture?: (event: React.SyntheticEvent) => void; onCanPlayThrough?: (event: React.SyntheticEvent) => void; onCanPlayThroughCapture?: (event: React.SyntheticEvent) => void; onDurationChange?: (event: React.SyntheticEvent) => void; onDurationChangeCapture?: (event: React.SyntheticEvent) => void; onEmptied?: (event: React.SyntheticEvent) => void; onEmptiedCapture?: (event: React.SyntheticEvent) => void; onEncrypted?: (event: React.SyntheticEvent) => void; onEncryptedCapture?: (event: React.SyntheticEvent) => void; onEnded?: (event: React.SyntheticEvent) => void; onEndedCapture?: (event: React.SyntheticEvent) => void; onLoadedData?: (event: React.SyntheticEvent) => void; onLoadedDataCapture?: (event: React.SyntheticEvent) => void; onLoadedMetadata?: (event: React.SyntheticEvent) => void; onLoadedMetadataCapture?: (event: React.SyntheticEvent) => void; onLoadStart?: (event: React.SyntheticEvent) => void; onLoadStartCapture?: (event: React.SyntheticEvent) => void; onPause?: (event: React.SyntheticEvent) => void; onPauseCapture?: (event: React.SyntheticEvent) => void; onPlay?: (event: React.SyntheticEvent) => void; onPlayCapture?: (event: React.SyntheticEvent) => void; onPlaying?: (event: React.SyntheticEvent) => void; onPlayingCapture?: (event: React.SyntheticEvent) => void; onProgress?: (event: React.SyntheticEvent) => void; onProgressCapture?: (event: React.SyntheticEvent) => void; onRateChange?: (event: React.SyntheticEvent) => void; onRateChangeCapture?: (event: React.SyntheticEvent) => void; onSeeked?: (event: React.SyntheticEvent) => void; onSeekedCapture?: (event: React.SyntheticEvent) => void; onSeeking?: (event: React.SyntheticEvent) => void; onSeekingCapture?: (event: React.SyntheticEvent) => void; onStalled?: (event: React.SyntheticEvent) => void; onStalledCapture?: (event: React.SyntheticEvent) => void; onSuspend?: (event: React.SyntheticEvent) => void; onSuspendCapture?: (event: React.SyntheticEvent) => void; onTimeUpdate?: (event: React.SyntheticEvent) => void; onTimeUpdateCapture?: (event: React.SyntheticEvent) => void; onVolumeChange?: (event: React.SyntheticEvent) => void; onVolumeChangeCapture?: (event: React.SyntheticEvent) => void; onWaiting?: (event: React.SyntheticEvent) => void; onWaitingCapture?: (event: React.SyntheticEvent) => void; onClick?: (event: React.MouseEvent) => void; onClickCapture?: (event: React.MouseEvent) => void; onContextMenu?: (event: React.MouseEvent) => void; onContextMenuCapture?: (event: React.MouseEvent) => void; onDoubleClick?: (event: React.MouseEvent) => void; onDoubleClickCapture?: (event: React.MouseEvent) => void; onDrag?: (event: React.DragEvent) => void; onDragCapture?: (event: React.DragEvent) => void; onDragEnd?: (event: React.DragEvent) => void; onDragEndCapture?: (event: React.DragEvent) => void; onDragEnter?: (event: React.DragEvent) => void; onDragEnterCapture?: (event: React.DragEvent) => void; onDragExit?: (event: React.DragEvent) => void; onDragExitCapture?: (event: React.DragEvent) => void; onDragLeave?: (event: React.DragEvent) => void; onDragLeaveCapture?: (event: React.DragEvent) => void; onDragOver?: (event: React.DragEvent) => void; onDragOverCapture?: (event: React.DragEvent) => void; onDragStart?: (event: React.DragEvent) => void; onDragStartCapture?: (event: React.DragEvent) => void; onDrop?: (event: React.DragEvent) => void; onDropCapture?: (event: React.DragEvent) => void; onMouseDown?: (event: React.MouseEvent) => void; onMouseDownCapture?: (event: React.MouseEvent) => void; onMouseEnter?: (event: React.MouseEvent) => void; onMouseLeave?: (event: React.MouseEvent) => void; onMouseMove?: (event: React.MouseEvent) => void; onMouseMoveCapture?: (event: React.MouseEvent) => void; onMouseOut?: (event: React.MouseEvent) => void; onMouseOutCapture?: (event: React.MouseEvent) => void; onMouseOver?: (event: React.MouseEvent) => void; onMouseOverCapture?: (event: React.MouseEvent) => void; onMouseUp?: (event: React.MouseEvent) => void; onMouseUpCapture?: (event: React.MouseEvent) => void; onSelect?: (event: React.SyntheticEvent) => void; onSelectCapture?: (event: React.SyntheticEvent) => void; onTouchCancel?: (event: React.TouchEvent) => void; onTouchCancelCapture?: (event: React.TouchEvent) => void; onTouchEnd?: (event: React.TouchEvent) => void; onTouchEndCapture?: (event: React.TouchEvent) => void; onTouchMove?: (event: React.TouchEvent) => void; onTouchMoveCapture?: (event: React.TouchEvent) => void; onTouchStart?: (event: React.TouchEvent) => void; onTouchStartCapture?: (event: React.TouchEvent) => void; onScroll?: (event: React.UIEvent) => void; onScrollCapture?: (event: React.UIEvent) => void; onWheel?: (event: React.WheelEvent) => void; onWheelCapture?: (event: React.WheelEvent) => void; onAnimationStart?: (event: React.AnimationEvent) => void; onAnimationStartCapture?: (event: React.AnimationEvent) => void; onAnimationEnd?: (event: React.AnimationEvent) => void; onAnimationEndCapture?: (event: React.AnimationEvent) => void; onAnimationIteration?: (event: React.AnimationEvent) => void; onAnimationIterationCapture?: (event: React.AnimationEvent) => void; onTransitionEnd?: (event: React.TransitionEvent) => void; onTransitionEndCapture?: (event: React.TransitionEvent) => void; }[]; handleNativeSelectChange: (e: React.ChangeEvent) => void; handleReactSelectChange: (option: { label: string; value: string; }) => void; }