import cx from "classnames"; import { FunctionComponent, ReactElement } from "react"; import { MinRecordItem, TableColumn } from "./table-helpers"; import { RowActionsProps } from "../../../components/core/table/table"; import { VoidValue } from "../../../utils/types"; export type RowActionsProp = FunctionComponent>; export type RowActionsConfigProp = { text: string; onClick: (record: T, onSuccess?: () => void) => VoidValue; className: cx.Argument; disabled?: boolean; testId?: string; render?: RowActionsProp; }[] | undefined; export type TableRowsProps = { RowActions?: RowActionsProp; rowActions?: RowActionsConfigProp; columns: TableColumn[]; emptyMessage: string | ReactElement; getRowClassName?: (record: T) => cx.Argument; handleRowClick?: (record: T) => void; canClickRow?: (record: T) => boolean; isLoading: boolean; records: T[]; stacked: boolean; }; export declare const TableRows: ({ records, columns, isLoading, emptyMessage, handleRowClick, canClickRow, RowActions, getRowClassName, stacked, }: TableRowsProps) => JSX.Element; //# sourceMappingURL=table-rows.d.ts.map