import { To } from "react-router-dom"; export type IconColor = 'red' | 'green' | 'yellow' | 'dark' | 'grey'; export declare const ICONS: Record; export interface BannerProps { color: IconColor; cta?: BannerCTA; msg: string; handleRemove: (e: React.MouseEvent | null, id: string) => void; id: string; timeOut?: number; showIcon?: boolean; bottomStroke?: boolean; hideCloseButton?: boolean; variant?: "toast" | "default"; actionText?: string; actionIcon?: string; } export interface DisplayIconProps { color: IconColor; } export interface BannerCTA { to?: To; action?: () => void; text: string; } export interface BannerState { id: string; color: IconColor; msg: string; cta?: BannerCTA; timeOut?: number; showIcon?: boolean; hideCloseButton?: boolean; actionText?: string; actionIcon?: string; } export interface BannerAlertProps { BANNER_STATE: { alertState: BannerState[]; }; REMOVE_ALERT_BANNER: (e: React.MouseEvent | null, id: string) => void; variant?: "toast" | "default"; } export interface BannerInfoProps { BANNER_STATE: { infoState: BannerState[]; }; REMOVE_INFO_BANNER: (e: React.MouseEvent | null, id: string) => void; variant?: "toast" | "default"; }