import * as React from 'react'; import { SectionIconVariant } from './SectionIcon.js'; interface ModalHeaderProps { /** * The title text for the modal header */ title: string; /** * Optional icon variant to display before the title * Uses the SectionIcon component variants: 'warning', 'danger', 'info', 'success' */ icon?: SectionIconVariant; /** * Callback when close button is clicked * If not provided, close button will not be shown */ onClose?: () => void; /** * Additional CSS class name */ className?: string; /** * Additional inline styles */ style?: React.CSSProperties; } /** * ModalHeader component - Arbor Design System * * The header part of a modal dialog with title, optional icon, and close button. * The icon uses SectionIcon variants (warning, danger, info, success). * * @example * ```tsx * // Basic modal header with close button * setIsOpen(false)} * /> * * // Modal header with warning icon * setIsOpen(false)} * /> * * // Modal header with danger icon (error state) * setIsOpen(false)} * /> * * // Modal header without close button * * ``` */ declare const ModalHeader: React.ForwardRefExoticComponent>; export { ModalHeader, type ModalHeaderProps };