import { PayloadAction } from "@reduxjs/toolkit"; import type { UnifiedAppNotification, NotificationTemplates } from "../../interfaces/models/AppNotification"; import type { SublayState } from '../sublayReducers'; export interface AppNotificationsState { notifications: UnifiedAppNotification[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: Partial; currentProjectId?: string; } export declare const appNotificationsSlice: import("@reduxjs/toolkit").Slice | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }, action: PayloadAction) => void; setLimit: (state: { notifications: ({ type: "system"; action: string; metadata: { title?: string | undefined; content?: string | undefined; buttonData: { text: string; url: string; } | null; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-comment"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reply"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; replyId: string; replyContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-mention"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-mention"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-upvote"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-upvote"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-specific"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-total"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-specific"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-total"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "new-follow"; action: "open-profile"; metadata: { initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-request"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-accepted"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "space-membership-approved"; action: "open-space"; metadata: { spaceId: string; spaceName: string; spaceShortId: string; spaceSlug: string | null | undefined; spaceAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; })[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: { entityComment?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }, action: PayloadAction) => void; setNotificationTemplates: (state: { notifications: ({ type: "system"; action: string; metadata: { title?: string | undefined; content?: string | undefined; buttonData: { text: string; url: string; } | null; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-comment"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reply"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; replyId: string; replyContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-mention"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-mention"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-upvote"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-upvote"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-specific"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-total"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-specific"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-total"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "new-follow"; action: "open-profile"; metadata: { initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-request"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-accepted"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "space-membership-approved"; action: "open-space"; metadata: { spaceId: string; spaceName: string; spaceShortId: string; spaceSlug: string | null | undefined; spaceAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; })[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: { entityComment?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }, action: PayloadAction>) => void; resetNotifications: (state: { notifications: ({ type: "system"; action: string; metadata: { title?: string | undefined; content?: string | undefined; buttonData: { text: string; url: string; } | null; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-comment"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reply"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; replyId: string; replyContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-mention"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-mention"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-upvote"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-upvote"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-specific"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-total"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-specific"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-total"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "new-follow"; action: "open-profile"; metadata: { initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-request"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-accepted"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "space-membership-approved"; action: "open-space"; metadata: { spaceId: string; spaceName: string; spaceShortId: string; spaceSlug: string | null | undefined; spaceAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; })[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: { entityComment?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }) => void; loadMore: (state: { notifications: ({ type: "system"; action: string; metadata: { title?: string | undefined; content?: string | undefined; buttonData: { text: string; url: string; } | null; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-comment"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reply"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; replyId: string; replyContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-mention"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-mention"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-upvote"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-upvote"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-specific"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-total"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-specific"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-total"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "new-follow"; action: "open-profile"; metadata: { initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-request"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-accepted"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "space-membership-approved"; action: "open-space"; metadata: { spaceId: string; spaceName: string; spaceShortId: string; spaceSlug: string | null | undefined; spaceAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; })[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: { entityComment?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }) => void; setLoading: (state: { notifications: ({ type: "system"; action: string; metadata: { title?: string | undefined; content?: string | undefined; buttonData: { text: string; url: string; } | null; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-comment"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reply"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; replyId: string; replyContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-mention"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-mention"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-upvote"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-upvote"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-specific"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-total"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-specific"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-total"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "new-follow"; action: "open-profile"; metadata: { initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-request"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-accepted"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "space-membership-approved"; action: "open-space"; metadata: { spaceId: string; spaceName: string; spaceShortId: string; spaceSlug: string | null | undefined; spaceAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; })[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: { entityComment?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }, action: PayloadAction) => void; addNotifications: (state: { notifications: ({ type: "system"; action: string; metadata: { title?: string | undefined; content?: string | undefined; buttonData: { text: string; url: string; } | null; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-comment"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reply"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; replyId: string; replyContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-mention"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-mention"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-upvote"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-upvote"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-specific"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-total"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-specific"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-total"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "new-follow"; action: "open-profile"; metadata: { initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-request"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-accepted"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "space-membership-approved"; action: "open-space"; metadata: { spaceId: string; spaceName: string; spaceShortId: string; spaceSlug: string | null | undefined; spaceAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; })[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: { entityComment?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }, action: PayloadAction<{ notifications: UnifiedAppNotification[]; hasMore: boolean; isFirstPage?: boolean; }>) => void; markAsReadLocally: (state: { notifications: ({ type: "system"; action: string; metadata: { title?: string | undefined; content?: string | undefined; buttonData: { text: string; url: string; } | null; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-comment"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reply"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; replyId: string; replyContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-mention"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-mention"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-upvote"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-upvote"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-specific"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-total"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-specific"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-total"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "new-follow"; action: "open-profile"; metadata: { initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-request"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-accepted"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "space-membership-approved"; action: "open-space"; metadata: { spaceId: string; spaceName: string; spaceShortId: string; spaceSlug: string | null | undefined; spaceAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; })[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: { entityComment?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }, action: PayloadAction) => void; markAllAsReadLocally: (state: { notifications: ({ type: "system"; action: string; metadata: { title?: string | undefined; content?: string | undefined; buttonData: { text: string; url: string; } | null; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-comment"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reply"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; replyId: string; replyContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-mention"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-mention"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-upvote"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-upvote"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-specific"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-total"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-specific"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-total"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "new-follow"; action: "open-profile"; metadata: { initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-request"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-accepted"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "space-membership-approved"; action: "open-space"; metadata: { spaceId: string; spaceName: string; spaceShortId: string; spaceSlug: string | null | undefined; spaceAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; })[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: { entityComment?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }) => void; setUnreadCount: (state: { notifications: ({ type: "system"; action: string; metadata: { title?: string | undefined; content?: string | undefined; buttonData: { text: string; url: string; } | null; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-comment"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reply"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; replyId: string; replyContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-mention"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-mention"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-upvote"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-upvote"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-specific"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-total"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-specific"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-total"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "new-follow"; action: "open-profile"; metadata: { initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-request"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-accepted"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "space-membership-approved"; action: "open-space"; metadata: { spaceId: string; spaceName: string; spaceShortId: string; spaceSlug: string | null | undefined; spaceAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; })[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: { entityComment?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }, action: PayloadAction) => void; handleError: (state: { notifications: ({ type: "system"; action: string; metadata: { title?: string | undefined; content?: string | undefined; buttonData: { text: string; url: string; } | null; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-comment"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reply"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; replyId: string; replyContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-mention"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-mention"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-upvote"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-upvote"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-specific"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "entity-reaction-milestone-total"; action: "open-entity"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-specific"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; reactionType: string; milestoneCount: number; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "comment-reaction-milestone-total"; action: "open-comment"; metadata: { entityId: string; entityShortId: string; entityTitle: string | null | undefined; entityContent: string | null | undefined; commentId: string; commentContent: string | null | undefined; milestoneCount: number; reactionCounts: { [x: string]: number; }; lastThreeUsers: { id: string; name: string | null | undefined; username: string | null | undefined; avatar: string | null | undefined; }[]; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "new-follow"; action: "open-profile"; metadata: { initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-request"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "connection-accepted"; action: "open-profile"; metadata: { connectionId: string; initiatorId: string; initiatorName: string | null | undefined; initiatorUsername: string | null | undefined; initiatorAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; } | { type: "space-membership-approved"; action: "open-space"; metadata: { spaceId: string; spaceName: string; spaceShortId: string; spaceSlug: string | null | undefined; spaceAvatar: string | null | undefined; }; id: string; userId: string; isRead: boolean; createdAt: string; })[]; unreadCount: number; loading: boolean; hasMore: boolean; page: number; limit: number; notificationTemplates?: { entityComment?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReply?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentMention?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentUpvote?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReaction?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; entityReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneSpecific?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; commentReactionMilestoneTotal?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; newFollow?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionRequest?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; connectionAccepted?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; spaceMembershipApproved?: { title?: import("../../interfaces/models/AppNotification").TemplateField | undefined; content?: import("../../interfaces/models/AppNotification").TemplateField | undefined; } | undefined; } | undefined; currentProjectId?: string | undefined; }) => void; }, "appNotifications", "appNotifications", import("@reduxjs/toolkit").SliceSelectors>; export declare const setProjectContext: import("@reduxjs/toolkit").ActionCreatorWithPayload, setLimit: import("@reduxjs/toolkit").ActionCreatorWithPayload, setNotificationTemplates: import("@reduxjs/toolkit").ActionCreatorWithPayload, "appNotifications/setNotificationTemplates">, resetNotifications: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"appNotifications/resetNotifications">, loadMore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"appNotifications/loadMore">, setLoading: import("@reduxjs/toolkit").ActionCreatorWithPayload, addNotifications: import("@reduxjs/toolkit").ActionCreatorWithPayload<{ notifications: UnifiedAppNotification[]; hasMore: boolean; isFirstPage?: boolean; }, "appNotifications/addNotifications">, markAsReadLocally: import("@reduxjs/toolkit").ActionCreatorWithPayload, markAllAsReadLocally: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"appNotifications/markAllAsReadLocally">, setUnreadCount: import("@reduxjs/toolkit").ActionCreatorWithPayload, handleError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"appNotifications/handleError">; declare const _default: import("@reduxjs/toolkit").Reducer; export default _default; export declare const selectAppNotifications: (state: { sublay: SublayState; }) => UnifiedAppNotification[]; export declare const selectUnreadCount: (state: { sublay: SublayState; }) => number; export declare const selectAppNotificationsLoading: (state: { sublay: SublayState; }) => boolean; export declare const selectAppNotificationsHasMore: (state: { sublay: SublayState; }) => boolean; export declare const selectAppNotificationsPage: (state: { sublay: SublayState; }) => number; export declare const selectAppNotificationsLimit: (state: { sublay: SublayState; }) => number; export declare const selectNotificationTemplates: (state: { sublay: SublayState; }) => Partial | undefined; export declare const selectCurrentProjectId: (state: { sublay: SublayState; }) => string | undefined;