import { ReactElement, ReactNode } from 'react'; export declare type Size = 200 | 300 | 400 | 500 | 600 | 650 | 700 | 800 | 900; export declare type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; export interface HeadingProps { /** * The html element to render. */ as: HeadingElement; /** * The content of the Heading. This should be a string, but it can also * contain Strong components. */ children: ReactNode; /** * Sets the css class of the rendered element. Can be used to apply custom * styles. */ className?: string; /** * As with all the other waffles components, dataAttributes can be used to set * data- html attributes on the element. */ dataAttributes?: { [key: string]: string; }; /** * When true, the Heading will wrap text. By default the text will be * truncated. */ multiLine?: boolean; /** * The size of the Heading to render. */ size: Size; } declare const Heading: { ({ as: Element, children, className, dataAttributes, multiLine, size, }: HeadingProps): ReactElement; defaultProps: { multiLine: boolean; }; }; export default Heading;