import React from 'react'; import PropTypes from 'prop-types'; import { ComponentProps } from '../utils/types'; interface HeadPropsBase { children?: React.ReactNode; /** * A React ref which is set to the section DOM element when the component mounts and null when it unmounts. */ elementRef?: React.Ref; } type HeadProps = ComponentProps; declare function Head({ children, elementRef, ...otherProps }: HeadProps): React.JSX.Element; declare namespace Head { var propTypes: { children: PropTypes.Requireable; elementRef: PropTypes.Requireable; }; } export default Head; export type { HeadPropsBase };