import React from "react"; import type { ConsciousnessFeatures } from "../layout/GlassContainer"; export type GlassDataTableRow = Record; export type GlassDataTableCellValue = unknown; export interface ColumnDef { id?: string; header: string | ((props: { column: ColumnDef; }) => React.ReactNode); accessorKey?: string; accessorFn?: (row: T) => GlassDataTableCellValue; cell?: (props: { row: T; value: GlassDataTableCellValue; }) => React.ReactNode; sortable?: boolean; filterable?: boolean; width?: string | number; align?: "left" | "center" | "right"; enableSorting?: boolean; enableHiding?: boolean; } export interface SortState { id: string; desc: boolean; } export type FilterState = Record; export interface GlassDataTableProps extends ConsciousnessFeatures { /** * Table data */ data?: T[]; /** * Column definitions */ columns: ColumnDef[]; /** * Loading state */ loading?: boolean; /** * Empty state message */ emptyMessage?: string; /** * Table variant */ variant?: "default" | "striped" | "bordered" | "minimal"; /** * Table size */ size?: "sm" | "md" | "lg"; /** * Enable sorting */ sortable?: boolean; /** * Enable filtering */ filterable?: boolean; /** * Enable search */ searchable?: boolean; /** * Search placeholder */ searchPlaceholder?: string; /** * Enable pagination */ pagination?: boolean; /** * Page size options */ pageSizeOptions?: number[]; /** * Initial page size */ initialPageSize?: number; /** Compact mode for constrained cards, drawers, and documentation previews. */ compact?: boolean; /** Contain the table in a bounded vertical viewport. */ contained?: boolean; /** Maximum rendered height when contained or compact. */ maxHeight?: number | string; /** Maximum rendered width when contained or compact. */ maxWidth?: number | string; /** Hide the search/actions header in compact mode if desired. */ showHeader?: boolean; /** Hide pagination controls in compact mode if desired. */ showFooter?: boolean; /** * Enable row selection */ selectable?: boolean; /** * Selection mode */ selectionMode?: "single" | "multiple"; /** * Selected rows */ selectedRows?: string[]; /** * Selection change handler */ onSelectionChange?: (selectedRows: string[]) => void; /** * Row click handler */ onRowClick?: (row: T) => void; /** * Get row ID */ getRowId?: (row: T, index?: number) => string; /** * Custom row props */ getRowProps?: (row: T) => React.HTMLAttributes; /** * Sticky header */ stickyHeader?: boolean; /** * Table actions */ actions?: React.ReactNode; className?: string; "aria-label"?: string; "data-testid"?: string; /** * Optional per-column cell renderers by column id or accessorKey */ cellRenderers?: Record React.ReactNode>; /** * Optional rich empty state */ emptyState?: { icon?: React.ReactNode; message?: string; description?: string; }; } /** * GlassDataTable component * A comprehensive data table with glassmorphism styling */ export declare const GlassDataTable: (props: GlassDataTableProps & { ref?: React.Ref; }) => import("react/jsx-runtime").JSX.Element; /** * Enhanced GlassDataTable with consciousness features enabled by default * Use this for tables that should be intelligent and adaptive */ export declare const ConsciousGlassDataTable: (props: GlassDataTableProps & { ref?: React.Ref; }) => import("react/jsx-runtime").JSX.Element; /** * Predictive data table that learns user sorting and filtering patterns */ export declare const PredictiveDataTable: (props: GlassDataTableProps & { ref?: React.Ref; }) => import("react/jsx-runtime").JSX.Element; /** * Gaze-responsive data table with eye tracking for enhanced data exploration */ export declare const GazeResponsiveDataTable: (props: GlassDataTableProps & { ref?: React.Ref; }) => import("react/jsx-runtime").JSX.Element; /** * Accessibility-focused data table with biometric adaptation and spatial audio */ export declare const AccessibleDataTable: (props: GlassDataTableProps & { ref?: React.Ref; }) => import("react/jsx-runtime").JSX.Element; /** * Pre-configured consciousness data table presets */ export declare const DataTableConsciousnessPresets: { /** * Minimal consciousness features for performance-sensitive contexts */ readonly minimal: { readonly predictive: true; readonly trackAchievements: true; }; /** * Balanced consciousness features for general use */ readonly balanced: { readonly predictive: true; readonly adaptive: true; readonly biometricResponsive: true; readonly trackAchievements: true; }; /** * Full consciousness features for immersive data exploration */ readonly immersive: { readonly predictive: true; readonly preloadContent: true; readonly eyeTracking: true; readonly gazeResponsive: true; readonly adaptive: true; readonly biometricResponsive: true; readonly spatialAudio: true; readonly audioFeedback: true; readonly trackAchievements: true; }; /** * Accessibility-focused consciousness features */ readonly accessible: { readonly adaptive: true; readonly biometricResponsive: true; readonly spatialAudio: true; readonly audioFeedback: true; readonly trackAchievements: true; }; }; //# sourceMappingURL=GlassDataTable.d.ts.map