import React from "react"; import { FlexColumnProps } from "../FlexColumn"; import { UseScrollingPaginationOptions } from "../ScrollingPaginator/useScrollingPagination"; import { TableSize } from "./constants"; import { TableHeaderProps } from "./TableHeader"; export type TableRowRenderProps = { index: number; item: T; context: C | undefined; }; export type TableProps = { contentClassName?: string; contentStyle?: React.CSSProperties; items: T[]; context?: C; header?: React.ReactElement; renderRow: React.ComponentType>; itemKey: (item: T | undefined, index: number) => string | number | undefined; size?: TableSize; headerBorderOnScroll?: boolean; headerBorder?: boolean; paginationError?: boolean; dividers?: boolean; } & Partial & Pick; export declare const Table: (({ className, items, id, header, contentClassName, itemKey, renderRow: Row, hasNext, loadNext, isLoadingNext, context, size, headerBorderOnScroll: headerBorderOnScrollProp, style, contentStyle, paginationError, dividers, }: TableProps) => React.JSX.Element) & { Header: React.ForwardRefExoticComponent> & { Cell: ({ children, sort, className, ...cellProps }: { role?: "cell" | "columnheader"; stickyLeft?: number; } & import("tailwind-variants").VariantProps>> & Omit, "height" | "width"> & import("../..").TextColorVariantProps & { sort?: (import("./TableHeaderCell").TableColumnSort & { onSort: (newSort: import("./TableHeaderCell").TableColumnSort) => void; }) | undefined; }) => React.JSX.Element; }; Row: React.ForwardRefExoticComponent<{ className?: string; children: React.ReactNode; onClick?: React.MouseEventHandler; } & Omit & import("tailwind-variants").VariantProps>> & React.RefAttributes> & { Cell: React.ForwardRefExoticComponent<{ role?: "cell" | "columnheader"; stickyLeft?: number; } & import("tailwind-variants").VariantProps>> & Omit, "height" | "width"> & import("../..").TextColorVariantProps & React.RefAttributes>; }; }; //# sourceMappingURL=Table.d.ts.map