/** * @license * Copyright Stbui All Rights Reserved. * https://github.com/stbui */ export declare const SHOW_NOTIFICATION = "SHOW_NOTIFICATION"; export declare type NotificationType = 'info' | 'error' | 'success' | 'warning'; export interface NotificationPayload { readonly message: string; readonly type: NotificationType; readonly notificationOptions?: NotificationOptions; } export interface ShowNotificationAction { readonly type: typeof SHOW_NOTIFICATION; readonly payload: NotificationPayload; } export declare const showNotification: (message: string, type?: NotificationType, options?: any) => ShowNotificationAction; export declare const HIDE_NOTIFICATION = "HIDE_NOTIFICATION"; export interface HideNotificationAction { readonly type: typeof HIDE_NOTIFICATION; } export declare const hideNotification: () => HideNotificationAction;