import { ReactNode } from "react"; import z$1 from "zod"; import * as _$_funhub_platform_utils0 from "@funhub/platform/utils"; //#region src/sdk/materials/detail-discussion/schema.d.ts declare const detailDiscussionPropsSchema: z$1.ZodObject<{ readonly ugcId: z$1.ZodString & _$_funhub_platform_utils0.SchemaHasDefaultValue; /** 一级评论 ID:拉取详情后置顶到讨论列表最前,不改变展开状态。 */ readonly focusCommentId: z$1.ZodOptional & _$_funhub_platform_utils0.SchemaHasDefaultValue; readonly detailModules: z$1.ZodOptional; materialType: z$1.ZodString; controlledProps: z$1.ZodOptional>; }, z$1.core.$strip>>> & _$_funhub_platform_utils0.SchemaHasDefaultValue; } & { mode: z$1.ZodOptional>; }, z$1.core.$strip>; interface DetailDiscussionTimestampMark { episodeLabel?: string; timeLabel?: string; label?: string; text?: string; } interface DetailDiscussionCapturedStill { screenshotBase64: string; fileName?: string; label?: string; } interface DetailDiscussionComposerControls { openComposer: () => void; isComposerExpanded: boolean; } type DetailDiscussionComposerControlledSlot = ReactNode | ((controls: DetailDiscussionComposerControls) => ReactNode); type DetailDiscussionProps = z$1.infer & { mode?: 'renderer' | 'editor'; __route?: unknown; title?: string; /** 隐藏 tab 上方标题行(详情区已展示标题时避免重复)。 */ hideHeaderTitle?: boolean; detailSlot?: ReactNode; initialActiveTab?: 'detail' | 'discussion'; hideTabs?: boolean; showTitle?: boolean; commentTotalLabel?: string | null; showVideoUploadAction?: boolean; showTimestampAction?: boolean; showCaptureStillAction?: boolean; floatingLayerZIndex?: number; hideComposerAvatar?: boolean; discussionHeaderContent?: DetailDiscussionComposerControlledSlot; /** 外层壳已展示评论数标题时隐藏 PC 端「共 N 条评论」摘要。 */ hidePcCommentCountSummary?: boolean; composerTrailingContent?: DetailDiscussionComposerControlledSlot; isAuthenticated?: boolean; onTotalChange?: (total: number) => void; onOpenAuthorProfile?: (userId: string) => void; onRequestLogin?: () => boolean | Promise; onRequestMarkTimestamp?: () => Promise | DetailDiscussionTimestampMark | null; onRequestCaptureStill?: () => Promise | DetailDiscussionCapturedStill | null; /** 从路由 query `comment_id` 透传,供评论列表聚焦一级评论。 */ focusCommentId?: string; }; //#endregion export { DetailDiscussionProps };