import React, { CSSProperties } from 'react'; import { NormalTypes } from "../utils/prop-types"; export type SelectRef = { focus: () => void; blur: () => void; scrollTo?: (options?: ScrollToOptions) => void; }; export type SelectTypes = NormalTypes; interface Props { disabled?: boolean; type?: SelectTypes; value?: string | string[]; initialValue?: string | string[]; placeholder?: React.ReactNode | string; icon?: React.ComponentType; onChange?: (value: string | string[]) => void; pure?: boolean; multiple?: boolean; clearable?: boolean; className?: string; dropdownClassName?: string; dropdownStyle?: CSSProperties; disableMatchWidth?: boolean; onDropdownVisibleChange?: (visible: boolean) => void; getPopupContainer?: () => HTMLElement | null; } type NativeAttrs = Omit, keyof Props>; export type SelectProps = Props & NativeAttrs; declare const Select: React.ForwardRefExoticComponent & import("../use-scale").ScaleProps, "ref"> & React.RefAttributes>; export default Select;