import type { CommonProps } from '@skbkontur/react-ui/internal/CommonWrapper'; import type { ReactNode } from 'react'; import React from 'react'; export interface CommonClickableElementProps extends CommonProps { children?: ReactNode; icon: React.ReactElement; marker?: ReactNode; caption?: ReactNode; subCaption?: ReactNode; id?: string; isButton?: boolean; disabled?: boolean; /** Отключает перенос строки у заголовка элемента, вместо этого он будет обрезаться многоточием */ noWrap?: boolean; /** @ignore */ _isSubMenu?: boolean; /** @ignore */ _isDropdown?: boolean; /** @ignore */ _isAvatar?: boolean; /** @ignore */ _isBackButton?: boolean; } export interface ClickableElementProps extends CommonClickableElementProps { element: 'a' | 'button' | React.ComponentType; href?: string; onClick?: React.EventHandler; onKeyDown?: React.EventHandler; onFocus?: React.EventHandler; onBlur?: React.EventHandler; } declare const ClickableElementWithStaticFields: React.ForwardRefExoticComponent> & { __KONTUR_REACT_UI__: string; }; export { ClickableElementWithStaticFields as ClickableElement };