import { EventEmitter } from '@angular/core'; import { CardButton, CardEvent } from '../../interfaces/card.interface'; import { TableRow } from '../../interfaces/table.interface'; import { Observable } from 'rxjs/Observable'; export declare class TableComponent { title: string; rowIdentifier: string; rows: TableRow[]; data: Observable; rightButtonBar: CardButton[]; selectedButtonBar: CardButton[]; empty: string; header: boolean; overflow: number; selected: string[]; onButtonClicked: EventEmitter; onSelectedChange: EventEmitter; /** * Resets the checkboxes and emits a card event. * * @param {CardEvent} event The incoming card event. */ resetAndEmit(event: CardEvent): void; /** * Handles the all checkbox clicked. * * @param {object[]} list The list of objects. */ onAllCheckboxClicked(list: object[]): void; /** * Handles the default checkbox clicked. * * @param {string} identifier The identifier of the item. */ onCheckboxClicked(identifier: string): void; /** * Checks if the row is selected. * * @param {string} identifier The identifier of the item. * * @returns {boolean} If the row checkbox is selected. */ isRowSelected(identifier: string): boolean; /** * @returns {CardButton[]} The current button bar. */ readonly buttonBar: CardButton[]; /** * Angular loop optimizations. * * @param {number} index The index of the item. * @param {object} item The item. * * @returns {number} The unique identifier. */ trackByRowIdentifier(index: number, item: object): string; /** * Angular loop optimizations. * * @param {number} index The index of the item. * @param {TableRow} row The table row. * * @returns {number} The unique identifier. */ trackByRow(index: number, row: TableRow): string; }