import { ReactNode, ReactElement } from 'react'; import { CustomSelectValue } from 'bloko/blocks/customSelect'; export interface CustomSelectOptionProps { /** Текст или своя верстка опции */ children?: ReactNode; /** Значение опции */ value: T; /** Флаг неактивности */ disabled?: boolean; /** Текст для поиска по опциям, если не передан используется текстовое содержимое */ searchText?: string; } declare const CustomSelectOption: ({ children, value, disabled, searchText, ...customSelectOptionProps }: CustomSelectOptionProps) => ReactElement | null; export default CustomSelectOption; export declare const isValidOptionElement: (child: ReactNode) => child is ReactElement, string | import("react").JSXElementConstructor>;