import React from "react"; import { IFieldContext } from "../../../constants"; import { IBaseDropdownProps } from "../BaseDropdown"; import { IFieldProps } from "../Field"; import { IMultiselectOption } from "./types"; export interface IMultiSelectProps extends IFieldContext, Partial { value?: IMultiselectOption[]; controlled?: boolean; name?: T; options: IMultiselectOption[]; optionGroups: G[]; onChange: (value: IMultiselectOption[]) => void; onSearch?: (newSearch: string) => void; pattern?: RegExp; disabled?: boolean; disableClear?: boolean; loading?: boolean; trackName?: string; trackData?: object; placeholder?: string; children?: (option: IMultiselectOption, place: "dropdown" | "input") => JSX.Element; noResults?: React.ReactNode; filterable?: boolean; withBubble?: boolean; bubbleLabel?: string; } declare const _default: (props: IMultiSelectProps & IFieldProps) => React.JSX.Element; export default _default;