import React, { InputHTMLAttributes } from 'react'; import { InputSize } from '../../form/common'; export declare function Highlight({ string, searchText }: { string: any; searchText: any; }): import("@emotion/react/jsx-runtime").JSX.Element; declare type MultiSelectProps = { /** * Aria Label * @default 'search' */ ['aria-label']: string; /** * Whether to allow user to add new value */ allowNew?: boolean; children: JSX.Element | JSX.Element[]; disabled?: boolean; error?: boolean | string; id?: string; inputProps?: InputHTMLAttributes; /** * Name of the Input */ name?: string; /** * Handler of onBlur event */ onBlur?: (e: React.FocusEvent) => void; /** * Handler of onChange event */ onChange: (e: React.SyntheticEvent & { target: { value: any; name: string; }; }, child?: any) => void; /** * Handler of onFocus event */ onFocus?: (e: React.FocusEvent) => void; /** * Placehoder of the input. * If given `false` or empty string, no placeholder is shown. * @default 'Select one' for single, else 'Add one or more...' */ placeholder?: string | false; single?: boolean; /** * Changes the height of the input field. * Values: * 'sm'=32px, * 'lg'=38px. */ size?: InputSize; /** * Value of the input */ value: any; }; export declare const MultiSelect: ({ "aria-label": ariaLabel, allowNew, children, disabled, error, id, inputProps, name, onBlur, onChange, onFocus, placeholder, single, size, value, }: MultiSelectProps) => import("@emotion/react/jsx-runtime").JSX.Element; export { Option } from './Option';