import React, { MouseEvent, ReactNode, ComponentProps } from 'react'; import { Button } from '../../Button'; export type ClickEvent = (data: { id?: string; name?: string; }, event: MouseEvent) => void; export interface Props extends Omit, 'design' | 'onClick'> { id?: string; name?: string; icon?: ReactNode; label?: ReactNode; design?: 'light' | 'dark'; onClick?: ClickEvent; enableArrowIcons?: boolean; asSubOperation?: boolean; hideEllipsis?: boolean; /** Компонент скрыт если false */ visible?: boolean; /** Компонент неактивен, если disabled или loading true */ disabled?: boolean; loading?: boolean; isFixed?: boolean; } export declare const Operation: React.ForwardRefExoticComponent & React.RefAttributes>;