//#region src/components/pc-comment-sort.d.ts declare const PC_COMMENT_SORT_OPTIONS: readonly [{ readonly value: "latest"; readonly label: "最新"; }, { readonly value: "hot"; readonly label: "热门"; }]; type PcCommentSortValue = (typeof PC_COMMENT_SORT_OPTIONS)[number]['value']; declare const PC_COMMENT_SORT_VALUES: readonly PcCommentSortValue[]; /** 一级评论数 ≥ 此值时展示「最新 / 热门」排序 Tab。 */ declare const PC_COMMENT_HOT_TAB_THRESHOLD = 50; /** 根据一级评论总数返回可用排序 Tab。 */ declare function resolveAvailablePcCommentSortOptions(topLevelTotal: number): readonly [{ readonly value: "latest"; readonly label: "最新"; }, { readonly value: "hot"; readonly label: "热门"; }] | { readonly value: "latest"; readonly label: "最新"; }[]; /** 是否展示「最新 / 热门」排序 Tab。 */ declare function shouldShowPcCommentSortTabs(topLevelTotal: number): boolean; //#endregion export { PC_COMMENT_HOT_TAB_THRESHOLD, PC_COMMENT_SORT_OPTIONS, PC_COMMENT_SORT_VALUES, PcCommentSortValue, resolveAvailablePcCommentSortOptions, shouldShowPcCommentSortTabs };