import { FetchStateAndError, FetchedState, ID } from '../../commonStateTypes/common'; import { PageToken } from '../../commonStateTypes/viewAndReport/viewAndReport'; declare const toNotificationTabType: (v: string) => "tasks" | "comments"; export declare const toNotificationTabTypeStrict: (v: string) => "tasks" | "comments" | undefined; export type NotificationTabType = ReturnType; declare const toNotificationSubTabType: (v: string) => "read" | "unread" | "all" | "mentions"; export declare const toNotificationSubTabTypeStrict: (v: string) => "read" | "unread" | "all" | "mentions" | undefined; export type NotificationSubTabType = ReturnType; export interface NotificationViewUIState { hasMore: boolean; limit: number; pageToken: PageToken; scrollYOffset: Record; totalCount: number; unreadCount: number; } export interface NotificationTabState extends FetchedState { allNotificationsIds: ID[]; fetchCountState: FetchStateAndError; markAsAllReadState: FetchStateAndError; markAsReadState: FetchStateAndError; selectedNotificationIds: ID[]; uiState: NotificationViewUIState; } export interface NotificationViewState { currentSubTab: NotificationSubTabType; currentTab: NotificationTabType; stateByTab: Record; } export {};