import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export interface TableAction { id: string; label: string; icon: string; tooltip?: string; show?: (context: { selected: any[]; }) => boolean; disabled?: (context: { selected: any[]; }) => boolean; onClick?: (context: { id: string; selected: any[]; }) => void; action?: (context: { id: string; selected: any[]; }) => void; } export declare class TableActionToolbarComponent { selectedItems: any[]; actions: TableAction[]; /** When true, show a "Select all" checkbox next to the selection count (e.g. for test case details). */ showSelectAll: boolean; /** Bound to the Select all checkbox when showSelectAll is true. */ allSelected: boolean; /** When true, show a dismiss (X) button at the end of the toolbar. */ showDismiss: boolean; actionClick: EventEmitter<{ id: string; selected: any[]; }>; selectAllChange: EventEmitter; dismiss: EventEmitter; /** Cooldown ms to prevent double-click from firing the same action twice */ private lastActionEmit; private static readonly ACTION_COOLDOWN_MS; get hasSelection(): boolean; get isSingleSelection(): boolean; get selectionLabel(): string; visibleActions(): TableAction[]; isDisabled(action: TableAction): boolean; /** * Keep first click actionable by preventing pointer down from being used only for focus transfer. */ onActionMouseDown(event: MouseEvent, action: TableAction): void; onAction(action: TableAction): void; onSelectAllChange(checked: boolean): void; onDismiss(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }