import type { Feed } from '../../../feed';
import type { ActivityPinResponse, ActivityResponse, BookmarkDeletedEvent, BookmarkResponse } from '../../../gen/models';
import type { EventPayload } from '../../../types-internal';
export declare const isSameBookmark: (bookmark1: BookmarkResponse, bookmark2: BookmarkResponse) => boolean;
export declare const removeBookmarkFromActivities: (event: BookmarkDeletedEvent, activities: ActivityResponse[] | undefined, eventBelongsToCurrentUser: boolean) => {
    changed: boolean;
    entities: ActivityResponse[] | undefined;
};
export declare const removeBookmarkFromPinnedActivities: (event: BookmarkDeletedEvent, pinnedActivities: ActivityPinResponse[] | undefined, eventBelongsToCurrentUser: boolean) => {
    changed: boolean;
    entities: ActivityPinResponse[] | undefined;
};
export declare function handleBookmarkDeleted(this: Feed, event: EventPayload<'feeds.bookmark.deleted'>): void;
