export type NotificationBase = { id: string; fullText: string; time: string; }; export type CircleAdminPostNotification = NotificationBase & { __typename: 'CircleAdminPostNotification'; post: { id: string; circle: { id: string; isMember: boolean; }; }; }; export type SurveyAssignedNotification = NotificationBase & { __typename: 'SurveyAssignedNotification'; surveyName: string; organizationName: string; }; export type PostReplyNotification = NotificationBase & { __typename: 'PostReplyNotification'; replyPost: { id: string; circle: { id: string; }; }; }; export type PrivatePostNotification = NotificationBase & { __typename: 'PrivatePostNotification'; post: { id: string; authorId: string; }; }; export type FeedNotification = PostReplyNotification | SurveyAssignedNotification | CircleAdminPostNotification | PrivatePostNotification; export type NotificationQueryResponse = { notificationsForUser: { edges: { node: FeedNotification; }[]; }; }; export declare function isSupportedNotification(notification: any): notification is FeedNotification; export declare function useNotifications(): import("@tanstack/react-query").UseQueryResult;