import { default as React } from 'react'; import { TYPE, STATE } from '../../constants'; import { SelectProps as AntSelectProps } from 'antd'; import { GenesisTheme } from '../../styles/theme/genesis-theme.types'; import { Variant } from './styles'; export interface SelectOption { value: string; label: React.ReactNode; } export interface SelectProps extends Omit { type?: keyof typeof TYPE; state?: keyof typeof STATE; options?: { value: string; label: React.ReactNode; }[]; variant?: Variant; defaultValue?: string | string[] | number | number[] | unknown; onChange?: (value: string | string[]) => void; size?: "normal" | "small" | "large"; value?: string[] | string | number[] | number; width?: number | string; placeholder?: string; selectDisplayMode?: "chip" | "count"; isSingleSelect?: boolean; disabled?: boolean; theme?: GenesisTheme; showSearch?: boolean; filterOption?: (input: string, option: SelectOption) => boolean; placement?: "top" | "bottom"; dropdownMatchSelectWidth?: boolean | number; valueTypographyVariant?: "label2" | "body2"; } declare const Select: ({ type, state, variant, defaultValue, onChange, size, width, value, options, placeholder, selectDisplayMode, isSingleSelect, disabled, showSearch, filterOption, placement, dropdownMatchSelectWidth, valueTypographyVariant, ...rest }: SelectProps) => import("react/jsx-runtime").JSX.Element; export default Select;