import React, { PureComponent } from 'react'; import { PickDefaultProps } from '../utils-typescript'; declare type HeadlineType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; interface HeadlineTheme { readonly 'heading': string; } export interface HeadlineProps extends React.HTMLAttributes { /** * The contents to be rendered. */ readonly children: React.ReactNode; /** * The semantic tag type of the headline. */ readonly type: HeadlineType; /** * An optional `className` to attach to the wrapper. */ readonly className?: string; /** * An optional css theme to be injected. */ readonly theme?: HeadlineTheme; } declare type DefaultProps = PickDefaultProps; export declare const defaultProps: DefaultProps; declare class Headline extends PureComponent { static readonly defaultProps: Readonly>>; render(): JSX.Element; } export default Headline;