import { NumberInput } from '@ngx-simple/core/coercion'; import { SimSelectionDirective } from '@ngx-simple/simple-ui/selection'; /** * 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. */ export declare class SimRowSelectionDirective { readonly _selection: SimSelectionDirective; static ngAcceptInputType_index: NumberInput; /** 与行关联的值 */ value: T; /** 列表中值的索引。与`trackBy`一起使用时需要 */ get index(): number | undefined; set index(index: number | undefined); private _index; constructor(_selection: SimSelectionDirective); }