import { BaseProps, SizeType } from "../_utils/props.js"; import React from "react"; //#region src/select/types.d.ts interface SelectOptGroupProps extends BaseProps, React.ComponentPropsWithoutRef<'li'> { label?: string; children?: React.ReactNode; } interface SelectOptionsProps extends BaseProps, React.ComponentPropsWithoutRef<'li'> { value: string; label?: React.ReactNode; disabled?: boolean; children?: React.ReactNode; } interface SelectOptionItem { value: string; label?: React.ReactNode; disabled?: boolean; } type SelectValue = string | string[]; interface SelectProps extends BaseProps, Omit, 'onSelect' | 'onChange' | 'defaultValue'> { value?: SelectValue; defaultValue?: SelectValue; mode?: 'multiple' | 'tags'; showSearch?: boolean; filterOption?: boolean | ((inputValue: string, option: SelectOptionItem) => boolean); onSearch?: (value: string) => void; allowClear?: boolean; loading?: boolean; size?: SizeType; maxTagCount?: number; notFoundContent?: React.ReactNode; options?: SelectOptionItem[]; onChange?: (value: SelectValue, option?: SelectOptionItem | SelectOptionItem[]) => void; onSelect?: (value: SelectValue) => void; optionRender?: (option: SelectOptionItem, info: { index: number; }) => React.ReactNode; labelRender?: (props: { label: React.ReactNode; value: string; }) => React.ReactNode; placeholder?: string; disabled?: boolean; defaultOpen?: boolean; open?: boolean; onDropdownVisibleChange?: (open: boolean) => void; scrollToSelected?: boolean; dropdownStyle?: React.CSSProperties; children?: React.ReactNode; } //#endregion export { SelectOptGroupProps, SelectOptionItem, SelectOptionsProps, SelectProps, SelectValue }; //# sourceMappingURL=types.d.ts.map