import type * as React from 'react'; import { type Alignment, type Side } from '../../lib/floating'; import { type CustomSelectOptionProps } from '../CustomSelectOption/CustomSelectOption'; import { type SelectValue } from '../NativeSelect/NativeSelect'; export type MousePosition = { x: React.MouseEvent['clientX']; y: React.MouseEvent['clientY']; }; export interface CustomSelectOptionInterface { /** * Значение. */ value: Exclude; /** * Отображаемый текст. */ label: React.ReactElement | string; /** * Блокировка взаимодействия с компонентом. */ disabled?: boolean; [index: string]: any; } export interface CustomSelectRenderOption extends CustomSelectOptionProps { /** * Данные об опции. */ option: T; } type PopupDirectionSide = Extract; export type PopupDirection = PopupDirectionSide | `${PopupDirectionSide}-${Alignment}`; export {}; //# sourceMappingURL=types.d.ts.map