import React from 'react'; import { PopoverInteractionKind } from '@blueprintjs/core'; import { IQueryListProps } from '@blueprintjs/select'; import { MultiSelectOption } from '../MultiSelect/MultiSelect'; import { IconName, IconProps } from '@harnessio/icons'; import { StyledProps } from '@harnessio/design-system'; import { ExpandingSearchInputProps } from '../ExpandingSearchInput/ExpandingSearchInput'; declare type Props = IQueryListProps; export declare function NoMatch(): React.ReactElement; export interface MultiSelectDropDownProps extends Omit { onChange?(opts: MultiSelectOption[]): void; value?: MultiSelectOption[]; items: Props['items'] | (() => Promise); usePortal?: boolean; className?: string; popoverClassName?: string; minWidth?: StyledProps['width']; width?: StyledProps['width']; buttonTestId?: string; isLabel?: boolean; icon?: IconName; iconProps?: Partial; placeholder?: string; hideItemCount?: boolean; allowSearch?: boolean; onPopoverClose?(opts: MultiSelectOption[]): void; expandingSearchInputProps?: ExpandingSearchInputProps; interactionKind?: PopoverInteractionKind; } /** * This regex does not have ending bracket intentionally * because we want to match the start of the expression */ export declare function MultiSelectDropDown(props: MultiSelectDropDownProps): React.ReactElement; export {};