import { EventEmitter, QueryList } from '@angular/core'; import { TableHeadCellComponent } from './table-head-cell.component'; import { TableRowDirective } from './table-row.directive'; import { TableDirective } from './table.directive'; import * as i0 from "@angular/core"; import * as i1 from "../../common/sapphire-view-encapsulation"; export interface RowActionEvent { index: number; rowData: D; } /** * Used to render tabular data with optional sorting, selection, pagination, and sticky headers. */ export declare class TableComponent { /** * Handler that is called when a user performs an action on a row. */ rowAction: EventEmitter>; /** * If the table header should be sticky relative to the first ancestor with * an `overflow`. * `auto` means it is `true` if the table has a custom `height` or * `maxHeight` and `false` otherwise. */ stickyHeader: 'on' | 'off' | 'auto'; /** * Whether text within a table cell should be truncated and followed by * 3 dots or it should wrap. */ cellOverflow: 'wrap' | 'truncate'; height: number | undefined; maxHeight: number | undefined; cellSpacing: 'sm' | 'md' | 'lg' | 'xl'; /** * Same as CSS table-layout property. * @default 'auto' */ layout?: 'auto' | 'fixed'; get isInteractive(): boolean; rows?: QueryList; headCells?: QueryList; table?: TableDirective; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }