import { Gap, Size } from 'types'; export type TextHeadingRoles = 'title' | 'heading' | 'subheading' | 'inner'; export type TextListType = 'numeric' | 'marked'; interface BaseInlineProps { bold?: boolean; italic?: boolean; underline?: boolean; deleted?: boolean; highlighted?: boolean; } export interface TextProps extends React.HTMLAttributes { gap?: Gap; } export interface SectionProps extends React.HTMLAttributes { gap?: Gap; } export interface TextScreenNameProps extends React.HTMLAttributes { } export interface TextHeadingProps extends React.HTMLAttributes { level?: 0 | 1 | 2 | 3 | 4 | 5 | 6; role?: TextHeadingRoles; variant?: TextHeadingRoles; ariaRole?: string; } export interface TextParagraphProps extends React.HTMLAttributes { size?: Size; } export interface TextInlineProps extends React.HTMLAttributes, BaseInlineProps { } export interface TextLinkProps extends React.AnchorHTMLAttributes, Pick { } export interface TextCodeProps extends React.HTMLAttributes, Pick { } export interface TextKeyboardProps extends React.HTMLAttributes, Pick { } export interface TextListProps extends React.HTMLAttributes { type?: TextListType; size?: Size; } export interface TextListItemProps extends React.HTMLAttributes { } export {};