import { SelectionModel } from '@angular/cdk/collections'; import { MatCellDef } from '@angular/material/table'; import { Subscription } from 'rxjs'; import { GalaxySelectionComponent } from '../components/selection/selection.component'; import * as i0 from "@angular/core"; interface SelectionEntry { select: GalaxySelectionComponent; valueSub: Subscription; } export declare class GalaxyTableSelectionService { entries: SelectionEntry[]; selection: SelectionModel; selection$: import("rxjs").Observable; private removeEntry; /** The "all control" selection has been updated */ private mainChanged; /** * Register a component and its row for selection events * @param selectComp - The select component to register and listen to */ registerRow(selectComp: GalaxySelectionComponent): void; /** * Unregister a selection component and its row * @param selectComp - The selection component to unregister */ unregisterRow(selectComp: GalaxySelectionComponent): void; /** * Toggle selection state for all entries so they are in the same state. * IE) If all selected, clear them */ toggleAllChecked(): void; allSelected(): boolean; isSelected(row: any): boolean; hasSelection(): boolean; onSelection(row: MatCellDef): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export {};