import { HTMLAttributes, RefAttributes } from 'react';
/**
* InlineMultiSelect Props
*
* @author Mykola Rositskyi, Taras Pavliv
*/
interface InlineMultiSelectProps extends RefAttributes, Omit, 'onChange'> {
/** Output array of strings on values change */
readonly onChange: (values: string[]) => void;
readonly regExpValidationSchema?: RegExp;
/** Error message to display in case validation is false */
readonly errorMessage?: string;
/** If true, regExpValidationSchema is required to make validation work properly */
readonly allowValidation: boolean;
readonly defaultValue?: string[];
}
export type { InlineMultiSelectProps };