import Component from '@glimmer/component';
import { type RowFilteringSignature } from '../../../../interfaces/components/models-table/themes/default/row-filtering-signature.interface';
import ModelsTableColumn from '../../../../utils/emt/emt-column';
/**
* Table header item used within {@link DefaultTheme.TableHeader | TableHeader}.
*
* Component generates tr with filter inputs in the separated cells. Filter for column may be as an input or select. Second one may have predefined set of options or may calculate list of options from table data. Last scenario doesn't work with {@link Core.ModelsTableServerPaginated}. Check properties {@link Core.ModelsTableColumn.disableFiltering}, {@link Core.ModelsTableColumn.filteredBy}, {@link Core.ModelsTableColumn.filterFunction}, {@link Core.ModelsTableColumn.filterPlaceholder}, {@link Core.ModelsTableColumn.filterWithSelect}, {@link Core.ModelsTableColumn.predefinedFilterOptions}.
*
* Usage example:
*
* ```html
*
*
*
*
* {{! ... }}
*
* {{! ... }}
*
* {{! .... }}
*
* ```
*
* Usage with a block context:
*
* ```html
*
*
*
*
* {{#each MT.visibleProcessedColumns as |column|}}
*
*
*
* {{/each}}
*
* {{! ... }}
*
* {{! ... }}
*
* {{! .... }}
*
* ```
*
* ModelsTableRowFiltering yields references to the following contextual components:
*
* * {@link DefaultTheme.RowFilteringCell | RowFilteringCell} - component used as filter row cell. It shows input or select or custom component. Check filter-options for columns
*
* Check own docs for each component to get detailed info.
*
* References to the following properties are yielded:
*
* * {@link shouldAddExtraColumn} - determines if extra column should be added to the row in the `thead`. It happens when rows grouping is used and extra column with group values exists
*/
export default class RowFiltering extends Component {
protected get shownColumns(): ModelsTableColumn[];
/**
* @default false
*/
get shouldAddExtraColumn(): boolean;
}
//# sourceMappingURL=row-filtering.d.ts.map