import type { AriaAttributes } from "react"; import React from "react"; import type { FormFieldProps } from "../FormField/FormField"; import type { CommonSelectProps, SelectOption } from "./Combobox"; import type { ComboboxSlotProps } from "./-types"; export type ActionData = { action: "select-option" | "deselect-option" | "clear"; name: string; data: SelectOption[]; }; export type UniqueMultiSelectProps = { value: string[]; onChange?: (value: string[], actionData: ActionData, event: React.ChangeEvent) => void; formatSelectedOptionsLabel?: (count?: number) => string; }; type MultiSelectProps = CommonSelectProps & Pick & UniqueMultiSelectProps & AriaAttributes & { slotProps: { tag: NonNullable; }; }; export declare function MultiSelect({ options, name, value, placeholder, emptyStateMessage, hasError, filterMethod, onChange, onBlur, onFocus, maxHeight, formatSelectedOptionsLabel, autoComplete, disabled, label, portalContainer, optionsListWidth, slotProps, "aria-describedby": ariaDescribedBy, privateProps, ...ariaAttributes }: MultiSelectProps): React.ReactElement; export {};