import Component from '@glimmer/component'; import { type RowExpandSignature } from '../../../../interfaces/components/models-table/themes/default/row-expand-signature.interface'; /** * Extra row with additional information for original row. Component used within {@link DefaultTheme.TableBody | TableBody}. * * Row expand is a table-row with a single cell. This cell has a `colspan` equal to the shown columns count. * You should provide an {@link Core.ModelsTable.expandedRowComponent}. It will be rendered inside `ModelsTableRowExpand`. * * Usage example: * * ```html * * * * {{#each MT.visibleContent as |record index|}} * * {{#if (contains record MT.expandedItems)}} {{! `contains` can be imported from `ember-composable-helpers` }} * * {{/if}} * {{/each}} * * {{! ... }} * * {{! .... }} * * ``` */ export default class RowExpand extends Component { protected get indexedClass(): string; protected get isSelected(): boolean; /** * @default 0 */ protected get cellColspan(): number; /** * @event onClick */ onClick(): void; } //# sourceMappingURL=row-expand.d.ts.map