import React, { CSSProperties, ReactNode } from 'react';
export type Props = {
    tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
    children: ReactNode;
    title?: string;
    color?: string;
    className?: string;
    style?: CSSProperties;
    fontWeight?: 'bold' | 'semibold';
    as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | React.ElementType;
    dataEventCategory?: string;
    dataEventAction?: string;
    dataEventLabel?: string;
};
/**
 * @deprecated Consider to use import { Title } from '@mantine/core'
 * if need to use custom tag, use Text from mantine instead
 */
declare const Heading: ({ as, tag, color, fontWeight, dataEventCategory, dataEventAction, dataEventLabel, ...rest }: Props) => React.JSX.Element;
export { Heading };
