import { ActionsColumnProps, TableVariant, TdProps, ThProps, ActionsColumn, Td, Th } from '@patternfly/react-table'; import { PropsWithChildren, ReactElement } from 'react'; export type RenderHeaderCb = (props: { Th: typeof Th; key: string; column: TCol; colIndex: number; }) => ReactElement; export type RenderCellCb = (props: { Td: typeof Td; key: string; column: TCol; colIndex: number; rowIndex: number; row: TRow; }) => ReactElement; export type RenderActionsCb = (props: { ActionsColumn: typeof ActionsColumn; row: TRow; rowIndex: number; }) => ReactElement | undefined; export type ResponsiveTableProps = { ariaLabel: string; minimumColumnWidth?: number; columns: readonly TCol[]; data: TRow[] | undefined; renderHeader: RenderHeaderCb; renderCell: RenderCellCb; renderActions?: RenderActionsCb; isColumnSortable?: (column: TCol) => (ResponsiveThProps["sort"] & { label: string; }) | undefined; isRowDeleted?: (props: RowProps) => boolean; isRowSelected?: (props: RowProps) => boolean; expectedLength?: number; onRowClick?: (props: RowProps) => void; setActionCellOuiaId?: (props: RowProps) => string; setRowOuiaId?: (props: RowProps) => string; tableOuiaId?: string; variant?: TableVariant; }; type RowProps = { row: TRow; rowIndex: number; }; export declare const ResponsiveTable: ({ ariaLabel, minimumColumnWidth, columns, data, renderHeader, renderCell, renderActions, isColumnSortable, isRowDeleted, isRowSelected, expectedLength, onRowClick, setActionCellOuiaId, setRowOuiaId, tableOuiaId, children, variant, }: PropsWithChildren>) => import("react/jsx-runtime").JSX.Element; export type ResponsiveThProps = { position: number; tableWidth: number; columnWidth: number; canHide: boolean; } & Omit; export declare const ResponsiveTh: import('react').NamedExoticComponent<{ position: number; tableWidth: number; columnWidth: number; canHide: boolean; } & Omit & import('react').RefAttributes>; export type ResponsiveTdProps = { position: number; tableWidth: number; columnWidth: number; canHide: boolean; } & Omit; export declare const ResponsiveTd: import('react').NamedExoticComponent<{ position: number; tableWidth: number; columnWidth: number; canHide: boolean; } & Omit & import('react').RefAttributes>; export type DeletableRowProps = PropsWithChildren<{ isSelected: boolean; isDeleted: boolean; onClick?: () => void; rowOuiaId?: string; }>; export declare const DeletableRow: import('react').NamedExoticComponent; export {};