import { OnInit, OnChanges, SimpleChanges, TemplateRef, QueryList } from '@angular/core'; import { cn } from './utils/cn'; import { TolleCellDirective } from '@tolle/ui/tolle-cell.directive'; import * as i0 from "@angular/core"; export interface TableColumn { key: string; label: string; sortable?: boolean; class?: string; } export declare class DataTableComponent implements OnInit, OnChanges { data: any[]; columns: TableColumn[]; searchable: boolean; paginate: boolean; pageSize: number; expandable: boolean; size: 'xs' | 'sm' | 'default' | 'lg'; expandedRows: Set; cellTemplates: QueryList; expandedTemplate?: TemplateRef; filteredData: any[]; pagedData: any[]; searchTerm: string; currentPage: number; sortKey: string; sortDir: 'asc' | 'desc' | null; get cellPaddingClass(): string; get headerPaddingClass(): string; get fontSizeClass(): string; protected cn: typeof cn; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; refreshTable(): void; onSearch(): void; private applySearch; private applySort; updatePage(): void; toggleSort(key: string): void; getSortIcon(key: string): "ri-arrow-up-down-line opacity-30" | "ri-arrow-up-line" | "ri-arrow-down-line"; toggleRow(index: number): void; getTemplate(key: string): TolleCellDirective | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }