import type { AriaLabelingProps } from '../../core/types/a11y-props.js'; import type { BehaviorTrackingProps } from '../../core/types/behavior-tracking-props.js'; import type { DataTestId } from '../../core/types/data-props.js'; import type { MaskingProps } from '../../core/types/masking-props.js'; import type { StylingProps } from '../../core/types/styling-props.js'; import type { WithChildren } from '../../core/types/with-children.js'; /** * The props for the Link component. * @public */ export interface ListProps extends WithChildren, AriaLabelingProps, StylingProps, DataTestId, MaskingProps, BehaviorTrackingProps { /** * Whether the List is ordered or not. This changes whether numbers or bullets are used. * @defaultValue false */ ordered?: TOrdered; /** * Sets the text style for the List. * @defaultValue 'base' */ textStyle?: 'base' | 'base-emphasized' | 'small' | 'small-emphasized'; /** * Sets the text style for the List. * @defaultValue 'text' */ fontStyle?: 'text' | 'code'; /** * Sets the starting number of the first item in an ordered list. * The value is always treated as an integer (floor). * @defaultValue 1 */ start?: number; } /** * The `List` component groups a set of related content in a list and can be arbitrarily nested. * List items are preceded by either a consecutive number (for ordered lists) or a bullet point * (for unordered lists). * @public */ export declare const List: (props: ListProps & import("react").RefAttributes) => import("react").ReactElement | null;