import { InputHTMLAttributes } from 'react'; declare type OptionValue = string | number | boolean | Record; export interface SelectProps extends Omit, 'onChange' | 'value'> { error?: boolean; valid?: boolean; active?: boolean; overrideLabel?: boolean; onChange?: (event: { target: { value: OptionValue; }; type?: any; }) => void; value?: string | number; width?: number | string; placeholder?: string; ariaLabel?: string; options?: Option[]; renderItem?: (option: Option, dropdownItem: boolean) => React.ReactElement; renderLabel?: (option: Option) => string; optionValue?: (option: Option) => OptionValue; dropdownHeader?: string; } declare function SelectComponent({ value, onChange, width, placeholder, ariaLabel, type, disabled, valid, active, options, renderItem, overrideLabel, renderLabel, optionValue, ...rest }: SelectProps, ref: React.ForwardedRef): JSX.Element; export declare const Select: (props: SelectProps & { ref?: import("react").ForwardedRef | undefined; }) => ReturnType; export {};