import type { ReactElement } from 'react'; import type { StyleProp, ViewProps, ViewStyle } from 'react-native'; import type { IconName, IconProps } from '../Icon'; interface SectionHeadingProps extends ViewProps { /** * Heading text. */ text: string | ReactElement; /** * Name of the Icon. */ icon?: IconName | ReactElement; /** * Right corner content */ rightChildren?: ReactElement; /** * @deprecated fontSize will be removed in the next major release. * Size of the text. */ fontSize?: 'small' | 'medium' | 'large' | 'xlarge'; /** * @deprecated fontWeight will be removed in the next major release. * Heading's font-weight. */ fontWeight?: 'light' | 'regular' | 'semi-bold'; /** * Visual intent color to apply to text. */ intent?: 'subdued' | 'body' | 'primary'; /** * Additional style. */ style?: StyleProp; /** * Testing id of the component. */ testID?: string; /** * Component size. */ size?: 'small' | 'medium'; } declare const SectionHeading: ({ icon, text, rightChildren, fontSize, intent, fontWeight, size, style, testID, }: SectionHeadingProps) => ReactElement; export default SectionHeading;