import { iconMapping } from '../Icons'; export type MessageVariant = ClassicBannerType | ThemedBannerType; export type ClassicBannerType = "info" | "error"; export type ThemedBannerType = "themed"; export type StylePreset = { icon: keyof typeof iconMapping; color: string; }; export type ThemedBannerColors = { backgroundColor?: string; color?: string; sideBorder?: string; }; export type BannerVariantProps = { variant?: ClassicBannerType; stylePresetOverride?: Partial; } | { variant?: ThemedBannerType; colors?: ThemedBannerColors; };