import React from 'react'; import { CSS } from '../theme/stitches.config'; import { GridNode } from '@react-types/grid'; import { TableState } from '@react-stately/table'; declare type CellProps = GridNode & { rendered: React.ReactNode; }; interface Props { cell: CellProps; state: TableState; as?: keyof JSX.IntrinsicElements; } declare type NativeAttrs = Omit, keyof Props>; export declare type TableCellProps = Props & NativeAttrs & { css?: CSS; }; declare const TableCell: React.ForwardRefExoticComponent & NativeAttrs & { css?: CSS | undefined; } & React.RefAttributes>; export default TableCell;