import React, { type KeyboardEventHandler, PureComponent, type ReactNode } from 'react'; import { type UnbindFn } from 'bind-event-listener'; import { type PopperProps } from 'react-popper'; import { type ActionMeta, type AtlaskitSelectRefType, type OptionType, type ReactSelectProps, type StylesConfig, type ValidationState, type ValueType } from '../types'; import { defaultComponents } from './components'; type defaultModifiers = 'offset' | 'preventOverflow' | 'flip'; type PopperPropsNoChildren = Omit, 'children'>; interface PopupSelectTriggerProps { ref: any; onKeyDown: KeyboardEventHandler; 'aria-haspopup': 'true'; 'aria-expanded': boolean; 'aria-controls'?: string; } export type ModifierList = 'offset' | 'computeStyles' | 'preventOverflow' | 'handleFlipStyle' | 'flip' | 'popperOffsets' | 'arrow' | 'hide' | 'eventListeners' | 'applyStyles'; export interface PopupSelectProps