import { BoxMetadata } from '../../atoms/box/types'; import { IconMetadata } from '../../atoms/icon/types'; import { TextMetadata } from '../../atoms/text/types'; /** * Alert box component metadata with support for reactive content. * Provides both static and reactive content options for the text element. */ export interface AlertBoxMetadata { box: BoxMetadata; icon: IconMetadata; text: TextMetadata; } /** * Enhanced alert box metadata with simplified reactive content support. * Alternative to the standard AlertBoxMetadata for common use cases. */ export interface ReactiveAlertBoxMetadata { /** Box styling configuration */ box: BoxMetadata; /** Icon configuration */ icon: IconMetadata; /** Static text (takes precedence over textConfig) */ text?: string; /** Reactive content configuration for alert text */ textConfig?: { className?: string; key: string; fallback?: string; interpolation?: Record; }; /** Text styling options */ textStyle?: { size?: 'small' | 'medium' | 'large' | 'xlarge'; color?: string; bold?: boolean; }; }