import { default as React, PropsWithChildren } from 'react';
import { HeadingLevel } from '../../types';
export interface DynamicHeadingProps extends PropsWithChildren, React.HTMLAttributes<HTMLElement> {
    as: HeadingLevel;
}
/**
 * @name DynamicHeading
 *
 * @description
 * The DynamicHeading component is a component that will render a heading based on the `as` prop that is passed to it.
 *
 * @param {HeadingLevel} as The heading level that will be rendered
 * @param {React.ReactNode} children The content of the heading
 *
 * @returns {React.ReactElement} The rendered heading
 *
 * @example
 * <DynamicHeading as={HeadingLevelEnum.h1}>...</DynamicHeading>
 *
 */
export declare const DynamicHeading: React.FC<DynamicHeadingProps>;
//# sourceMappingURL=DynamicHeading.d.ts.map