import Logger from "../../../../logger.js"; import type { CommentsTableRow, CommentUpdateType } from "../../../../publications/comment/types.js"; import type { LocalCommunity } from "../local-community.js"; import type { CommentUpdateToWriteToDbAndPublishToIpfs } from "./defaults.js"; export declare function communityChallengePubsubTopic(community: LocalCommunity): string | undefined; export declare function challengeExchangePubsubTopic(community: LocalCommunity): string | undefined; export declare function calculateLocalMfsPathForCommentUpdate(community: LocalCommunity, postDbComment: Pick, timestampRange: number): string; export declare function calculateNewCommentUpdate(opts: { community: LocalCommunity; comment: CommentsTableRow; batchStartTimestamp: number; }): Promise; export declare function validateCommentUpdateSignature(community: LocalCommunity, newCommentUpdate: CommentUpdateType, comment: CommentsTableRow, log: Logger): Promise; export declare function updateCommentsThatNeedToBeUpdated(community: LocalCommunity): Promise; export declare function syncPostUpdatesWithIpfs(community: LocalCommunity, commentUpdateRowsToPublishToIpfs: CommentUpdateToWriteToDbAndPublishToIpfs[]): Promise; export declare function adjustPostUpdatesBucketsIfNeeded(community: LocalCommunity): Promise;