export declare type AlertTypeString = 'info' | 'success' | 'warning' | 'danger' | 'major'; export declare enum AlertType { INFO = "info", SUCCESS = "success", WARNING = "warning", DANGER = "danger", MAJOR = "major" } export interface IAlertActionButton { label: string; action: (event: MouseEvent) => any; } export interface IGlobalAlert { type: AlertTypeString; text: string; actionButton?: IAlertActionButton; } export interface IInlineAlert { type: AlertTypeString; text: string; actionButton?: IAlertActionButton; } export interface IMultiAlert { type: AlertTypeString; text: string; actionButton?: IAlertActionButton; subAlerts?: IExpandedAlert[]; } export interface IExpandedAlert { text: string; actionButton?: IAlertActionButton; }