import * as React from 'react'; import { OverridableStringUnion, OverrideProps } from '@mui/types'; import { ColorPaletteProp } from '../styles/types/colorSystem.js'; import { VariantProp } from '../styles/types/variants.js'; import { SxProps } from '../styles/types/theme.js'; import '@mui/system'; import '../styles/types/colorScheme.js'; import '../styles/types/focus.js'; import '../styles/types/shadow.js'; import '../styles/types/radius.js'; import '../styles/types/typography.js'; declare type ListItemSlot = "root" | "startAction" | "endAction"; interface ListItemPropsVariantOverrides { } interface ListItemPropsColorOverrides { } interface ListItemTypeMap

{ props: P & { /** * The color of the component. It supports those theme colors that make sense for this component. * @default 'neutral' */ color?: OverridableStringUnion; /** * The content of the component. */ children?: React.ReactNode; /** * The element to display at the start of ListItem. */ startAction?: React.ReactNode; /** * The element to display at the end of ListItem. */ endAction?: React.ReactNode; /** * If `true`, the component can contain NestedList. * @default false */ nested?: boolean; /** * If `true`, the component has sticky position (with top = 0). * @default false */ sticky?: boolean; /** * The variant to use. * @default 'plain' */ variant?: OverridableStringUnion; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; }; defaultComponent: D; } declare type ListItemProps = OverrideProps, D>; interface ListItemOwnerState extends ListItemProps { /** * If `true`, the element is rendered in a horizontal list. * @internal */ row: boolean; /** * If `true`, the element is rendered in a wrapped list. * @internal */ wrap: boolean; /** * If `true`, the element is rendered in a nested list item. */ nesting: boolean | string; /** * @internal * The internal prop for controlling CSS margin of the element. */ "data-first-child"?: boolean; } export { ListItemOwnerState, ListItemProps, ListItemPropsColorOverrides, ListItemPropsVariantOverrides, ListItemSlot, ListItemTypeMap };