import React from 'react'; interface Labels { helpTextFor?: string; reset?: string; openClose?: string; } export interface MdSelectOption { text: string; value: string; } export interface MdSelectProps { label?: string | null; labels?: Labels; options?: MdSelectOption[]; id?: string; /** * v5.0.0: value is now either a string or an array of strings */ value: string | string[]; placeholder?: string; disabled?: boolean; mode?: 'large' | 'medium' | 'small'; helpText?: string; error?: boolean; errorText?: string; flip?: boolean; dropdownHeight?: number; allowReset?: boolean; /** * When `true`, the popover will be unmounted when it is hidden. This can be useful for performance reasons, but it may cause issues with animations or transitions. * @default false * @see https://ariakit.org/reference/select-popover#unmountonhide */ unmountOnHide?: boolean; /** * v5.0.0: onSelectOption now returns either a string or an array of strings */ onSelectOption(_value: string[] | string): void; } export declare const MdSelect: React.ForwardRefExoticComponent>; export default MdSelect;