import React from 'react'; import type { Column } from './Table'; type TableContext = { layout: 'table' | 'grid'; columns: Array; }; type TableProvider = { children: React.ReactNode; layout: 'table' | 'grid'; columns: Array; }; declare const TableContext: React.Context; declare function TableProvider({ children, layout, columns }: TableProvider): JSX.Element; declare function useTable(): TableContext; export { TableProvider, useTable };