import type { CSSProperties, HTMLAttributes, Ref } from 'react';
import type { WithTestId } from '../types';
export interface DropdownStyle extends CSSProperties {
'--dropdown-max-height'?: string;
}
export interface DropdownProps extends Omit, 'style'>, WithTestId {
/** Стили. */
style?: DropdownStyle;
/** Реф корневого элемента. */
rootRef?: Ref;
/** Реф внутреннего элемента с прокруткой. */
viewportRef?: Ref;
/** Свойства для элемента с прокруткой. */
viewportProps?: HTMLAttributes;
}
export type DropdownLoadingProps = Omit, 'children'>;