import { EventEmitter, OnInit, OnDestroy } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { Action } from '../shared/action.interfaces'; /** * An action button */ export declare class ActionbarItemComponent implements OnInit, OnDestroy { readonly disabled$: BehaviorSubject; readonly ngClass$: BehaviorSubject<{ [key: string]: boolean; }>; private ngClass$$; private disabled$$; private availability$$; /** * Action */ action: Action; /** * Color */ color: string; /** * Whether the action title is displayed */ withTitle: boolean; /** * Whether the action icon is displayed */ withIcon: boolean; /** * Whether a tooltip should be shown */ withTooltip: boolean; /** * Whether the action is disabled */ disabled: boolean; /** * Event emitted when the action button is clicked */ trigger: EventEmitter; /** * @internal */ readonly title: string; /** * @internal */ readonly tooltip: string; /** * @internal */ readonly icon: string; constructor(); ngOnInit(): void; ngOnDestroy(): void; /** * When the action button is clicked, emit the 'trigger' event but don't * invoke the action handler. This is handled by the parent component. * @internal */ onClick(): void; private updateNgClass; }