import { PayloadAction } from '@reduxjs/toolkit'; import { AppNotification } from '../../types'; export interface NotificationsState { wallet: Record; web3: Record; } export declare const notificationsActions: import('@reduxjs/toolkit').CaseReducerActions<{ addNotification: (state: { wallet: { [x: string]: { id: string; type: "wallet" | "web3"; title: string; message?: string | undefined; createdAt: number; action?: { type: "DAPP_REQUEST"; account: number; sessionId: string; payload: string; } | { type: "DISPATCH"; actionType: string; payload?: any; } | { type: "NONE"; } | undefined; }; }; web3: { [x: string]: { id: string; type: "wallet" | "web3"; title: string; message?: string | undefined; createdAt: number; action?: { type: "DAPP_REQUEST"; account: number; sessionId: string; payload: string; } | { type: "DISPATCH"; actionType: string; payload?: any; } | { type: "NONE"; } | undefined; }; }; }, action: PayloadAction) => void; removeNotification: (state: { wallet: { [x: string]: { id: string; type: "wallet" | "web3"; title: string; message?: string | undefined; createdAt: number; action?: { type: "DAPP_REQUEST"; account: number; sessionId: string; payload: string; } | { type: "DISPATCH"; actionType: string; payload?: any; } | { type: "NONE"; } | undefined; }; }; web3: { [x: string]: { id: string; type: "wallet" | "web3"; title: string; message?: string | undefined; createdAt: number; action?: { type: "DAPP_REQUEST"; account: number; sessionId: string; payload: string; } | { type: "DISPATCH"; actionType: string; payload?: any; } | { type: "NONE"; } | undefined; }; }; }, action: PayloadAction) => void; clearAll: (state: { wallet: { [x: string]: { id: string; type: "wallet" | "web3"; title: string; message?: string | undefined; createdAt: number; action?: { type: "DAPP_REQUEST"; account: number; sessionId: string; payload: string; } | { type: "DISPATCH"; actionType: string; payload?: any; } | { type: "NONE"; } | undefined; }; }; web3: { [x: string]: { id: string; type: "wallet" | "web3"; title: string; message?: string | undefined; createdAt: number; action?: { type: "DAPP_REQUEST"; account: number; sessionId: string; payload: string; } | { type: "DISPATCH"; actionType: string; payload?: any; } | { type: "NONE"; } | undefined; }; }; }, action: PayloadAction<"wallet" | "web3" | "all">) => void; }, "notifications">; export declare const notificationsReducer: import('redux').Reducer; //# sourceMappingURL=notifications.d.ts.map