import React from 'react'; import type { Dispatch, ReactNode, SetStateAction } from 'react'; import type { TableProps } from '@mui/material/Table'; export declare enum Direction { ASCENDENT = "asc", DESCENDENT = "desc" } export interface ITableInteractive extends Omit { name: string; page?: number; open?: boolean; total?: number; fixed?: boolean; active?: string; maxHeight?: number | string; cellPadding?: number | string; framed?: boolean; borderRadius?: number | string; headers: { name: string; label: string; show: boolean; width?: string; sortable?: boolean; }[]; className?: string; paginated?: boolean; rowsPerPage?: number; direction?: Direction; isInteractive?: boolean; isCollapsible?: boolean; visibleColumns?: string[]; columnsTemporary?: string[]; rowsPerPageOptions?: number[]; headerActions?: JSX.Element | undefined; valuesInvoices?: Record[]; onCancel?: () => void; onConfirm?: () => void; handleOpen?: () => void; onSort?(id: string): void; setPage?: Dispatch>; setRowsPerPage?: Dispatch>; children?: (item: Record) => ReactNode; rowsContent: () => JSX.Element | JSX.Element[] | undefined; setColumnsTemporary?: (value: SetStateAction) => void; } export declare const TableInteractive: (props: ITableInteractive) => React.JSX.Element;