import { AlertType } from './alert-type.enum';
/**
 * Alert model
 */
export interface Alert {
    /**
     * Type of alert
     * - classical
     * - success
     * - strong
     * - critical
     * - clear
     */
    type: AlertType;
    /**
     * Alert title
     */
    title: string;
    /**
     * Alert content text
     */
    content: string;
    /**
     * Delay to hide the alert in milliseconds
     * (calculated based on the difference between the current time and the `timestamp`)
     * For example, if you want to wait for 5 seconds, you can set the timestamp to the current time minus 5000 milliseconds (5 seconds).
     * timestamp = new Date().getTime() - 5000; // Wait for 5 seconds
     */
    timestamp: number;
}
