import { EventEmitter, VNode } from '../../stencil-public-runtime'; import { Table, ColumnDef, TableState, PaginationState, Cell } from '@tanstack/table-core'; export declare class PnkTable { host: HTMLElement; name?: string; columns: ColumnDef[]; data: any[]; table: Table; tableState: TableState | object; paginationState: PaginationState; pageSizeOptions: number[]; onPaginationChange: EventEmitter; onRowClick: EventEmitter<{ row: unknown; index: number; }>; watchTableStateHandler(_newTableState: TableState, _oldTableState: TableState): void; createTable(): void; getFilteredData(): any[]; getCustomColumnTemplateById(id: string): Element | null | undefined; renderCustomColumnTemplate(cell: Cell): string | VNode | null; generateVDataFromElement(el: Element): object; generatevNodeTreeFromElement(element: Node): VNode | string | null; findValuePositionInTemplate(template: Element, valueText?: string): number; componentWillLoad(): void; /** * Refresh the table rendering from scratch by passing the same state as a new variable reference * (this is possible through the Watch() decorator on "tableState"). */ refreshTable(): void; render(): any; }