import type { NotificationRecord } from "../services/notificationService";
export declare function mergeNotificationLists(primary: NotificationRecord[], secondary: NotificationRecord[]): NotificationRecord[];
export declare function buildNotificationQuery(options: {
    showAll: boolean;
    skip: number;
    take: number;
}): {
    skip: number;
    take: number;
    unreadOnly: boolean | undefined;
};
export declare function getNextOffsetAfterRealtime(currentOffset: number): number;
export declare function getNextOffsetAfterMarkRead(currentOffset: number, showAll: boolean): number;
export declare function applyMarkReadToNotifications(notifications: NotificationRecord[], id: string, showAll: boolean): NotificationRecord[];
export declare function applyMarkAllReadToNotifications(notifications: NotificationRecord[], showAll: boolean): {
    isRead: boolean;
    id: string;
    userId: string;
    type: string;
    priority?: string;
    title: string;
    message: string;
    contextJson?: string | null;
    createdAt: string;
}[];
