import type { DetailedHTMLProps, ForwardedRef, HTMLAttributes, WeakValidationMap } from "react"; import type ReactElementProps from "../../types/react-element-properties/react-element-properties"; export type PyTitlePropertiesBase = Omit, HTMLElement>>, "children"> & { children: string; }; export type PyTitleProperties = OptionalProperties extends infer OptionalProperties ? OptionalProperties & PyTitlePropertiesBase : PyTitlePropertiesBase; export type PyTitleProps = PyTitleProperties; export type PyTitleTag = { (properties: PyTitleProperties, reference?: ForwardedRef): JSX.Element; displayName?: string; defaultProps?: Partial; propTypes?: WeakValidationMap; };