export {}; declare global { namespace Amity { type CommentContentType = 'text'; type CommentReferenceType = 'content' | 'post' | 'story'; type CommentActionType = 'onFetch' | 'onCreate' | 'onUpdate' | 'onDelete' | 'onFlagged' | 'onUnflagged' | 'onReactionAdded' | 'onReactionRemoved'; type RawComment = { commentId: string; userId: string; parentId?: RawComment['commentId']; rootId: RawComment['commentId']; childrenNumber: number; children: RawComment['commentId'][]; segmentNumber: number; editedAt: Amity.timestamp; attachments?: Amity.Attachment[]; targetId: string; targetType: 'community' | 'user' | 'content'; } & Amity.Relationship & Amity.Content & Amity.Metadata & Amity.Flaggable & Amity.Reactable & Amity.Timestamps & Amity.SoftDelete & Amity.Subscribable & Amity.Mentionable<'user'>; type InternalComment = RawComment; type CommentTarget = { type: InternalComment['targetType'] | 'unknown'; communityId?: Amity.Community['communityId']; userId?: Amity.InternalUser['userId']; contentId?: string; creatorMember?: Amity.Membership<'community'>; }; type Comment = Amity.InternalComment & { target: Amity.CommentTarget; creator?: Amity.User; }; type QueryComments = { referenceType: Amity.InternalComment['referenceType']; referenceId: Amity.InternalComment['referenceId']; sortBy?: 'lastCreated' | 'firstCreated' | 'lastUpdated' | 'firstUpdated'; parentId?: Amity.InternalComment['commentId'] | null; hasFlag?: boolean; includeDeleted?: boolean; limit?: number; page?: Amity.Token; dataTypes?: { values: ('image' | 'text')[]; matchType: 'any' | 'exact'; }; }; type CommentLiveCollection = Amity.LiveCollectionParams & { sortBy?: 'lastCreated' | 'firstCreated'; }>; type CommentLiveCollectionCache = Amity.LiveCollectionCache; } } //# sourceMappingURL=comment.d.ts.map