import { CdkSelection, SelectionChange, CdkSelectAll, CdkSelectionToggle, CdkRowSelection } from '@angular/cdk-experimental/selection'; export { SelectionChange } from '@angular/cdk-experimental/selection'; import * as i0 from '@angular/core'; import { EventEmitter, OnInit, OnDestroy } from '@angular/core'; import * as i1 from '@angular/material/table'; import * as i2 from '@angular/material/checkbox'; /** * Manages the selection states of the items and provides methods to check and update the selection * states. * It must be applied to the parent element if `matSelectionToggle`, `matSelectAll`, * `matRowSelection` and `matSelectionColumn` are applied. */ declare class MatSelection extends CdkSelection { /** Whether to support multiple selection */ get multiple(): boolean; set multiple(multiple: boolean); /** Emits when selection changes. */ readonly change: EventEmitter>; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[matSelection]", ["matSelection"], { "multiple": { "alias": "matSelectionMultiple"; "required": false; }; }, { "change": "matSelectionChange"; }, never, never, true, never>; } /** * Makes the element a select-all toggle. * * Must be used within a parent `MatSelection` directive. It toggles the selection states * of all the selection toggles connected with the `MatSelection` directive. * If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive * automatically connects it with the select-all state provided by the `MatSelection` directive. If * not, use `checked` to get the checked state, `indeterminate` to get the indeterminate state, * and `toggle()` to change the selection state. */ declare class MatSelectAll extends CdkSelectAll { static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[matSelectAll]", ["matSelectAll"], {}, {}, never, never, true, never>; } /** * Makes the element a selection toggle. * * Must be used within a parent `MatSelection` directive. * Must be provided with the value. If `trackBy` is used on `MatSelection`, the index of the value * is required. If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive * automatically connects it with the selection state provided by the `MatSelection` directive. If * not, use `checked$` to get the checked state of the value, and `toggle()` to change the selection * state. */ declare class MatSelectionToggle extends CdkSelectionToggle { /** The value that is associated with the toggle */ value: T; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[matSelectionToggle]", ["matSelectionToggle"], { "index": { "alias": "matSelectionToggleIndex"; "required": false; }; "value": { "alias": "matSelectionToggleValue"; "required": false; }; }, {}, never, never, true, never>; } /** * Column that adds row selecting checkboxes and a select-all checkbox if `matSelectionMultiple` is * `true`. * * Must be used within a parent `MatSelection` directive. */ declare class MatSelectionColumn implements OnInit, OnDestroy { private _table; readonly selection: MatSelection | null; /** Column name that should be used to reference this column. */ get name(): string; set name(name: string); private _name; private readonly _columnDef; private readonly _cell; private readonly _headerCell; ngOnInit(): void; ngOnDestroy(): void; private _syncColumnDefName; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "mat-selection-column", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>; } /** * Applies `mat-selected` class and `aria-selected` to an element. * * Must be used within a parent `MatSelection` directive. * Must be provided with the value. The index is required if `trackBy` is used on the `CdkSelection` * directive. */ declare class MatRowSelection extends CdkRowSelection { /** The value that is associated with the row */ value: T; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[matRowSelection]", never, { "index": { "alias": "matRowSelectionIndex"; "required": false; }; "value": { "alias": "matRowSelectionValue"; "required": false; }; }, {}, never, never, true, never>; } declare class MatSelectionModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { MatRowSelection, MatSelectAll, MatSelection, MatSelectionColumn, MatSelectionModule, MatSelectionToggle };