import { DefaultTheme } from '@mui/private-theming'; import React from 'react'; export declare enum ListDirection { horizontal = "horizontal", vertical = "vertical" } export interface ListProps extends React.HTMLAttributes { /** * Set if the list is collapsed or expanded. */ collapsed?: boolean; /** * Default className prop. */ className?: string; /** * Number of visible items in the collapsed state. */ collapsedLength?: number; /** * Component to render the data from items (if not an array of components). */ component?: any; /** * Final card to display in collapsed state, for example how many other items there are. */ dataCard?: any; /** * Handle the click of the final card, for example toggle collapsed state to display all data. */ dataCardClick?: Function; /** * List direction, horizontal or vertical */ direction?: ListDirection; /** * Array of items, in object or component form. */ items: Array; } export interface Theme extends DefaultTheme { collapsed?: boolean; direction?: ListDirection; itemCount: number; } export declare const List: ({ className, collapsed, collapsedLength, component: Component, dataCard, dataCardClick, direction, items, }: ListProps) => JSX.Element; export default List;