import type { ElementType } from 'react'; import { type BoxProps } from '../Box'; import { type IconProps } from '../Icon'; export type SelectOption = readonly [ value: string, label: string, selected?: boolean ]; export type SelectProps = Omit & { anchor?: ElementType; error?: string; options: SelectOption[]; onChange: (value: SelectOption[0]) => void; getLabel?: (params: SelectOption) => SelectOption[1]; getValue?: (params: SelectOption) => SelectOption[0]; filter?: string; renderOptions?: ElementType; renderItem?: ElementType; renderSelected?: ElementType; customEmpty?: string; addonIcon?: IconProps['name']; }; declare const SelectLegacy: import("react").ForwardRefExoticComponent & { anchor?: ElementType; error?: string; options: SelectOption[]; onChange: (value: SelectOption[0]) => void; getLabel?: (params: SelectOption) => SelectOption[1]; getValue?: (params: SelectOption) => SelectOption[0]; filter?: string; renderOptions?: ElementType; renderItem?: ElementType; renderSelected?: ElementType; customEmpty?: string; addonIcon?: IconProps["name"]; } & import("react").RefAttributes>; export default SelectLegacy; //# sourceMappingURL=SelectLegacy.d.ts.map