import React from 'react'; import { PopoverContentProps } from '../Popover'; import { InputProps } from '../Input'; import { PopoverTriggerProps, PopoverProps } from '@radix-ui/react-popover'; import { SelectOptionBase, SelectOptionType, SelectedValue } from './SelectContext'; import { SelectTagProps } from './SelectTag'; export type SelectClassnames = { selectBox?: string; selectTag?: string; popoverContent?: string; popoverTrigger?: string; placeholder?: string; input?: string; list?: string; menuItemSelectedIcon?: React.ReactNode; }; export interface SelectProps extends Pick { classNames?: SelectClassnames; className?: string; options: SelectOptionType[]; value?: SelectedValue; defaultValue?: SelectedValue; placeholder?: string; tagRender?: SelectTagProps['children']; onChange?: (value: SelectedValue | SelectedValue[]) => void; contentNotFound?: React.ReactNode; disabled?: boolean; isMultiple?: boolean; hideArrow?: boolean; boxInputProps?: Omit; popoverProps?: { trigger?: Partial; content?: Partial; popover?: Partial; }; open?: boolean; onOpenChange?: (open: boolean) => void; listId?: string; heightDropdownRender?: number; iconChecked?: React.ReactNode; boxRender?: (value: SelectOptionBase) => React.ReactNode; onScroll?: React.UIEventHandler; } export declare function Select({ options, value, defaultValue, placeholder, onChange, isMultiple, tagRender, className, classNames, contentNotFound, hideArrow, status, boxInputProps, popoverProps, open: openProps, onOpenChange, listId, iconChecked, disabled, boxRender, heightDropdownRender, onScroll, }: SelectProps): import("react/jsx-runtime").JSX.Element; export declare namespace Select { var displayName: string; }