export declare const DOUYIN_COMMENT_PAGE_SIZE = 20; export declare const REPLIES_TOP_MAX = 10; export type CommentLike = { id: string; text?: string; content?: string; likes: number; author?: string; authorDouyinId?: string; authorRedId?: string; authorProfileUrl?: string; images?: string[]; stickers?: string[]; hasAudio?: boolean; hasMedia?: boolean; replyCount?: number; subCommentCount?: number; replies?: CommentLike[]; repliesPartial?: boolean; repliesError?: string; mediaUnavailable?: boolean; }; export declare function clampCommentCount(n: number): { count: number; note?: string; }; export declare function resolveRepliesOptions(opts: { withReplies?: boolean; repliesTop?: number; }): { withReplies: boolean; repliesTop: number; }; export declare function buildCommentJsonSummary(comments: CommentLike[], meta: { count: number; hasMore: boolean; cursor?: string; total?: number; imagesExpire: boolean; repliesRequested?: number; repliesFetched?: number; partial?: boolean; }): Record; export declare function renderCommentLines(comments: CommentLike[], replyCommandName: string): string[]; export declare function fetchRepliesForTopComments(fetchReply: (commentId: string) => Promise, comments: T[], topN: number): Promise<{ comments: T[]; repliesRequested: number; repliesFetched: number; partial: boolean; }>; //# sourceMappingURL=comments.d.ts.map