import { EventEmitter } from '../../stencil-public-runtime'; import { Breakpoint } from '../../utils/breakpoints'; /** * A menu item component that renders as a button with proper ARIA semantics. */ export declare class CatMenuItem { private readonly _id; private get id(); private button?; /** * A unique identifier for the menu item. */ identifier?: string; /** * The name of an icon to be displayed in the menu item. */ icon?: string; /** * The color of the menu item. */ color?: 'primary' | 'secondary' | 'danger' | 'warning' | 'success' | 'info'; /** * Whether the menu item is active. */ active: boolean; /** * The variant of the menu item button. */ variant: 'filled' | 'outlined' | 'text'; /** * The loading state of the menu item. */ loading?: boolean; /** * Hide the actual button content and only display the icon. */ iconOnly: boolean | Breakpoint; /** * Display the icon on the right. */ iconRight: boolean; /** * A destination to link to, rendered in the href attribute of a link. */ url?: string; /** * Specifies where to open the linked document. */ urlTarget?: '_blank' | '_self'; /** * Specifies that the menu item should be disabled. */ disabled: boolean; /** * Attributes that will be added to the native HTML button element */ nativeAttributes?: { [key: string]: string; }; /** * A unique identifier for the underlying native element that is used for * testing purposes. The attribute is added as `data-test` attribute and acts * as a shorthand for `nativeAttributes={ 'data-test': 'test-Id' }`. */ testId?: string; subMenu: boolean; /** * Emitted when the trigger button is clicked. */ catClick: EventEmitter; onClick(event: MouseEvent): void; /** * Programmatically move focus to the menu item. */ doFocus(options?: FocusOptions): Promise; /** * Programmatically remove focus from the menu item. */ doBlur(): Promise; render(): any; private click; }