import React, { ImgHTMLAttributes, ReactElement } from 'react'; import { LayoutProps } from '../../layouts/Layout'; import { FormikContextType } from 'formik'; import { IconName } from '@harnessio/icons'; import { ThumbnailProps } from '../Thumbnail/Thumbnail'; import { PopoverProps } from 'components/Popover/Popover'; export interface Item { label: string | React.ReactElement; icon?: IconName | React.ReactElement; imageProps?: ImgHTMLAttributes; value: string; disabled?: boolean; tooltip?: ReactElement | string; tooltipProps?: PopoverProps; } export interface ConnectedThumbnailSelectProps extends ThumbnailSelectProps { formik: FormikContextType>; } export interface ThumbnailSelectProps extends Pick { name: string; items: Item[]; isReadonly?: boolean; layoutProps?: Partial; changeText?: string; cancelText?: string; className?: string; thumbnailClassName?: string; onChange?(val: string): void; expandAllByDefault?: boolean; staticItems?: boolean; } declare const _default: React.ComponentType; export default _default;