/** * @license * Copyright Stbui All Rights Reserved. * https://github.com/stbui/prophet */ export interface NotificationSideEffect { type: 'info' | 'error' | 'success' | 'warning'; message: string; description: string; } interface ActionWithSideEffect { type: string; payload?: any; error: string; meta: { notification: NotificationSideEffect; }; } export declare function handleNotification({ error, meta: { notification }, }: ActionWithSideEffect): Generator, void, unknown>; export declare const takeNotificationAction: (action: any) => any; export default function (): Generator, void, unknown>; export {};