import { Node } from '@lattice-php/core/types'; import { TableColumn, TablePagination, TableRow, TableQuery } from '../types.js'; export declare function getColumns(value: unknown): TableColumn[]; export declare function getRows(value: unknown): TableRow[]; export declare function getPagination(value: unknown): TablePagination; export declare function getQuery(value: unknown): TableQuery; export type PerPageOption = number | "infinite"; export declare function getPerPageOptions(value: unknown): PerPageOption[]; export declare function getRowKey(row: TableRow, index: number): string; export declare function getRowActions(row: TableRow): Node[]; export declare function getRowDetail(row: TableRow): Node | null; export declare function getRowClick(row: TableRow): Node<"table.row-click"> | null; export declare function getRowPopover(row: TableRow, columnKey: string): Node | null; /** * Resolves a row's closure-driven link for a column: a string href, `null` * when the column has a resolver but this row didn't resolve one (render * plain text), or `undefined` when the column has no resolver at all (fall * back to the string-template form). */ export declare function getRowLink(row: TableRow, columnKey: string): string | null | undefined;