import React from "react";
import { type SubIcon } from "@vibe/icon";
import { type ElementContent, type VibeComponentProps } from "../../../types";
interface BaseLegacyModalHeaderProps extends VibeComponentProps {
    /**
     * Description of the modal - pure string description is a recommended standard, use JSX ability only if there is a need to add links
     */
    description?: ElementContent;
    /**
     * Icon to be rendered before the title
     */
    icon?: SubIcon;
    /**
     * Class name for the title
     */
    titleClassName?: string;
    /**
     * closes the Modal. No need to provide it, it is being provided by the modal
     */
    closeModal?: () => void;
    /**
     * Class name for the description
     */
    descriptionClassName?: string;
    /**
     * Size of the icon
     */
    iconSize?: number;
    /**
     * class name for the icon
     */
    iconClassName?: string;
    /**
     * Aria label for the close button
     */
    closeButtonAriaLabel?: string;
}
interface LegacyModalHeaderWithOnlyTitle extends BaseLegacyModalHeaderProps {
    title: ElementContent;
    children?: never;
}
interface LegacyModalHeaderWithOnlyChildren extends BaseLegacyModalHeaderProps {
    title?: never;
    children: ElementContent;
}
export type LegacyModalHeaderProps = LegacyModalHeaderWithOnlyTitle | LegacyModalHeaderWithOnlyChildren;
declare const LegacyModalHeader: ({ className, title, children, titleClassName, description, descriptionClassName, icon, closeModal, iconSize, iconClassName, closeButtonAriaLabel, id, "data-testid": dataTestId }: LegacyModalHeaderProps) => React.JSX.Element;
export default LegacyModalHeader;
