import * as React from 'react'; import { OverridableStringUnion, OverridableTypeMap, OverrideProps, OverridableComponent } 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 { ListItemButtonClasses } from './listItemButtonClasses.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 ListItemButtonSlot = "root"; interface ListItemButtonPropsVariantOverrides { } interface ListItemButtonPropsColorOverrides { } interface ListItemButtonTypeMap

{ props: P & { /** * A ref for imperative actions. It currently only supports `focusVisible()` action. */ action?: React.Ref<{ focusVisible(): void; }>; /** * If `true`, the list item is focused during the first mount. * Focus will also be triggered if the value changes from false to true. * @default false */ autoFocus?: boolean; /** * 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; /** * Override or extend the styles applied to the component. */ classes?: Partial; /** * If `true`, the component is disabled. * @default false */ disabled?: boolean; /** * This prop can help identify which element has keyboard focus. * The class name will be applied when the element gains the focus through keyboard interaction. * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo). * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md). * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components * if needed. */ focusVisibleClassName?: string; /** * The content direction flow. * @default 'horizontal' */ orientation?: "horizontal" | "vertical"; /** * Use to apply selected styling. * @default false */ selected?: 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; /** * @default 0 */ tabIndex?: NonNullable["tabIndex"]>; }; defaultComponent: D; } interface ExtendListItemButtonTypeMap { props: M["props"] & ListItemButtonTypeMap["props"]; defaultComponent: M["defaultComponent"]; } declare type ListItemButtonProps = OverrideProps, D>; interface ListItemButtonOwnerState extends ListItemButtonProps { /** * If `true`, the element's focus is visible. */ focusVisible?: boolean; /** * If `true`, the element is rendered in a horizontal list. * @internal */ row?: boolean; /** * @internal * The internal prop for controlling CSS margin of the element. */ "data-first-child"?: boolean; } declare type ExtendListItemButton = ((props: OverrideProps, "a">) => JSX.Element) & OverridableComponent>; export { ExtendListItemButton, ExtendListItemButtonTypeMap, ListItemButtonOwnerState, ListItemButtonProps, ListItemButtonPropsColorOverrides, ListItemButtonPropsVariantOverrides, ListItemButtonSlot, ListItemButtonTypeMap };