import React from "react"; import "primereact/resources/primereact.min.css"; import "primeicons/primeicons.css"; import "./logTable.css"; export type LogRow = { id?: string; historyId?: string; modifiedBy?: string; actionType?: string; actionText?: string; actionDate?: string; updatedByICE?: boolean; [key: string]: any; }; export type RowClickHelpers = { isExpanded: boolean; expand: () => void; collapse: () => void; toggle: () => void; }; export type RowDetailHelpers = { close: () => void; }; export type LogTableProps = { rows?: LogRow[]; loading?: boolean; loadingMore?: boolean; hasMore?: boolean; onLoadMore?: () => void; emptyState?: { title?: string; description?: string; content?: React.ReactNode; }; hiddenColumns?: string[]; extraColumns?: { key: string; header: string; body: (row: LogRow) => React.ReactNode; style?: React.CSSProperties; }[]; chipConfig?: { getTone?: (row: LogRow) => string; getIcon?: (row: LogRow) => React.ReactNode; getStyle?: (row: LogRow) => React.CSSProperties; }; tableProps?: Record; onRowClick?: (row: LogRow, helpers: RowClickHelpers) => void; rowDetail?: { render?: (row: LogRow, helpers: RowDetailHelpers) => React.ReactNode; expandOnRowClick?: boolean; multiple?: boolean; className?: string; style?: React.CSSProperties; }; restoringId?: string | null; onRestore?: (historyId: string) => void | Promise; restoreToast?: { enabled?: boolean; position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "center"; life?: number; success?: { summary?: string; detail?: string | ((historyId: string) => string); }; error?: { summary?: string; detail?: string | ((historyId: string, err: unknown) => string); }; }; }; export default function LogTable({ rows, loading, loadingMore, onLoadMore, hasMore, emptyState, hiddenColumns, extraColumns, chipConfig, tableProps, onRowClick, rowDetail, restoringId, onRestore, restoreToast, }: LogTableProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=LogTable.d.ts.map