import { type PropsWithChildren } from 'react'; import { type DataTableProps } from './DataTable.types'; export type DataTableSize = 'small' | 'medium'; /** * The props for the `DataTableContext` component. */ export type DataTableContextProps = Pick; export type DataTableProviderValues = { numberColumns: number; setNumberColumns: (number: number) => void; } & DataTableContextProps; /** * The context for the `DataTable` component. * * This should only be used in DataTable component. */ export declare const DataTableContext: import("react").Context; /** * The hook to use the `DataTableContext`. */ export declare const useDataTableContext: () => DataTableProviderValues; /** * The provider for the `DataTableContext`. * * This should only be used in DataTable component. */ export declare function DataTableProvider({ children, size, enableRowSelection, fixedHeader, leftFixedColumnIndex, rightFixedColumnIndex, loading, layout, }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;