import { type ReactNode } from "react"; import type { Theme, VariantName } from "../../theme/themeTypes.js"; import type { BlockTypeTextProps } from "./BlockText.js"; export interface RichTextListItem { key: string; content: ReactNode; textStyle?: BlockTypeTextProps; } interface RichTextListProps { ordered?: boolean; variant?: VariantName; /** When true, the variant's spacing below the block applies below the last item. */ bottomSpacing?: boolean; hasItemSpacingBelowLastItem?: boolean; firstMarkerIndex?: number; /** How many lists enclose this one; zero for a list that is not nested. */ depth: number; items: RichTextListItem[]; } /** Renders one rich-text list as a table, because cell padding is the only list indent Outlook applies reliably. */ export declare function RichTextList({ ordered, variant, bottomSpacing, hasItemSpacingBelowLastItem, firstMarkerIndex, depth, items, }: RichTextListProps): ReactNode; export declare function generateRichTextListStyles(theme: Theme): string; export {};