import * as i0 from '@angular/core'; import { AfterViewInit, OnDestroy, EventEmitter, ElementRef, ErrorHandler } from '@angular/core'; import { Table } from '@ni/nimble-angular/table'; interface OkTableSelectionProposal { readonly selectedIds: readonly string[]; preventDefault(): void; } /** * Temporary toggle-selection behavior for Nimble tables. * Remove when the table supports toggle row clicks and additive Shift ranges natively. */ declare class OkTableToggleSelectionDirective implements AfterViewInit, OnDestroy { private readonly errorHandler; set visibleIds(value: readonly string[]); get visibleIds(): readonly string[]; set selectedIds(value: readonly string[]); proposedSelection: EventEmitter; selectionChange: EventEmitter; private readonly table; private currentSelection; private visible; private initialized; private additiveRange; private updates; constructor(elementRef: ElementRef, errorHandler: ErrorHandler); ngAfterViewInit(): void; ngOnDestroy(): void; private readonly handleClick; private readonly handleSelection; private propose; private restoreSelection; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class OkTableToggleSelectionModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { OkTableToggleSelectionDirective, OkTableToggleSelectionModule }; export type { OkTableSelectionProposal };