import * as React from 'react'; import { magma, ThemeInterface } from '../../theme/magma'; import { TypographyVisualStyle } from '../Typography'; export interface ListProps extends React.HTMLAttributes { /** * @children required */ children: React.ReactNode; /** * Allows an ordered list to start at a determined value of a letter or number. */ hasStart?: string; /** * Aligns the icon at the top, or center of each list item. * @default IconAlignment.center */ iconAlign?: IconAlignment; /** * Sizes the icon between small, medium, and large. * @default IconSizes.medium */ iconSize?: IconSizes; isInverse?: boolean; /** * @default false */ isOrdered?: boolean; /** * If list is ordered, then this allows the list to reverse the content. * @default false */ isReversed?: boolean; /** * Options for list type bullet formatting. */ listType?: ulListType | olListType; /** * Adds a bottom margin to each list item with the Magma space scale. */ spacingStyle?: keyof typeof magma.spaceScale; /** * @internal */ testId?: string; /** * @internal */ theme?: ThemeInterface; /** * Applies visual styles including font-size, font-weight, line-height and margins * @default TypographyVisualStyle.bodyMedium */ visualStyle?: TypographyVisualStyle; } export declare enum IconSizes { small = "small", medium = "medium", large = "large" } export declare enum IconAlignment { center = "center", top = "top" } export declare enum ulListType { circle = "circle", disc = "disc", square = "square" } export declare enum olListType { lowercase = "a", uppercase = "A", lowercaseRoman = "i", uppercaseRoman = "I", numbers = "1" } export declare function getIconSizes(props: any): any; export declare function getListAlignment(props: any): "center" | "flex-start"; export declare const List: React.ForwardRefExoticComponent>;