import React, { LabelHTMLAttributes, LiHTMLAttributes } from 'react'; import { TitleTypes, Heading } from '../common'; export type TitleProps = LabelHTMLAttributes & LiHTMLAttributes & { /** * Default value will based one `type` prop */ as?: 'span' | 'label' | 'li' | 'legend' | 'header' | Heading; /** * Default value: {@link DEFAULT_TYPE} */ type?: TitleTypes; }; declare const Title: React.ForwardRefExoticComponent & React.LiHTMLAttributes & { /** * Default value will based one `type` prop */ as?: "span" | "label" | "li" | "legend" | "header" | Heading; /** * Default value: {@link DEFAULT_TYPE} */ type?: TitleTypes; } & React.RefAttributes>; export default Title; //# sourceMappingURL=Title.d.ts.map