import React from 'react';
import { ButtonPropsType } from '../../general';
interface PageHeadingTitleProps {
    /** Text to be rendered in the title */
    text: string;
    /** HTML element to be used for the title */
    element?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
}
export interface PageHeadingProps {
    /** An optional number to restrict the width of the titles to */
    maxWidth?: number | false;
    /** Details of the title to be rendered */
    title?: PageHeadingTitleProps;
    /** Details of the subtitle to be rendered */
    subtitle?: PageHeadingTitleProps;
    /** Optional children */
    children?: React.ReactNode;
    /** Additional classes */
    className?: string;
    /** Call-To-Action button configuration */
    ctaButton?: ButtonPropsType & {
        text: string;
    };
}
declare const PageHeading: ({ maxWidth, title, subtitle, children, className, ctaButton, }: PageHeadingProps) => import("react/jsx-runtime").JSX.Element;
export default PageHeading;
