import { Bookmark, BookmarkType, Post, Comment } from '../types/forum'; /** * Service for managing bookmarks * Handles all bookmark-related operations including CRUD operations * and metadata extraction for display purposes */ export declare class BookmarkService { /** * Create a bookmark for a post */ static bookmarkPost(post: Post, userId: string, cellId?: string): Promise; /** * Create a bookmark for a comment */ static bookmarkComment(comment: Comment, userId: string, postId?: string): Promise; /** * Remove a bookmark */ static removeBookmark(type: BookmarkType, targetId: string): Promise; /** * Toggle bookmark status for a post */ static togglePostBookmark(post: Post, userId: string, cellId?: string): Promise; /** * Toggle bookmark status for a comment */ static toggleCommentBookmark(comment: Comment, userId: string, postId?: string): Promise; /** * Check if a post is bookmarked by a user */ static isPostBookmarked(userId: string, postId: string): boolean; /** * Check if a comment is bookmarked by a user */ static isCommentBookmarked(userId: string, commentId: string): boolean; /** * Get all bookmarks for a user */ static getUserBookmarks(userId: string): Promise; /** * Get bookmarks by type for a user */ static getUserBookmarksByType(userId: string, type: BookmarkType): Promise; /** * Get bookmark by ID */ static getBookmark(bookmarkId: string): Bookmark | undefined; /** * Get all bookmarks (for debugging/admin purposes) */ static getAllBookmarks(): Bookmark[]; /** * Clear all bookmarks for a user (useful for account cleanup) */ static clearUserBookmarks(userId: string): Promise; } //# sourceMappingURL=BookmarkService.d.ts.map