import { HTMLAttributes, default as React } from 'react'; import { SafeExtract, Spacing } from '../../types'; import { DataListContextType } from './context'; /** @inheritdoc */ export interface DataListOwnProps extends Partial { /** * Gap space between items. * @default false */ gap?: boolean | SafeExtract; /** * If true, eliminates the default paddings by adding negative margins. * @default false */ inset?: boolean; } /** @inheritdoc */ export interface DataListProps extends DataListOwnProps, Omit, 'className'> { } export declare function getDataListProps

({ className, dense, gap, inset, disabled, ...rest }: P): { 'data-disabled': boolean | undefined; 'aria-disabled': boolean | undefined; } & Omit & { className: string; }; /** * DataList component * **⚠️ INTERNAL UI KIT USE ONLY** */ export declare const DataList: React.ForwardRefExoticComponent> & { Item: React.ForwardRefExoticComponent> & { displayName: string; Cell: React.MemoExoticComponent<(props: import('./DataListItemCell').DataListItemCellProps) => React.JSX.Element>; }; Section: ((props: import('./DataListSection').DataListSectionProps) => React.JSX.Element) & { displayName: string; Header: React.ForwardRefExoticComponent> & { displayName: string; }; }; Empty: React.FC<{ children?: React.ReactNode | undefined; }>; };