import React, { type Ref } from 'react'; import { type Icon, type IconProps } from '@primer/octicons-react'; import { TextProps } from '../../Text'; import type { BaseProps } from '../../component-helpers'; export type ListItemProps = BaseProps & { /** * React.ReactNode and React.ReactNode[] are valid children. */ children?: React.ReactNode | React.ReactNode[]; /** * The ref object to be attached to the list item. */ ref?: Ref; leadingVisual?: Icon; leadingVisualFill?: IconProps['fill']; leadingVisualAriaLabel?: string; } & Pick; export declare const ListItem: any;