import React from 'react'; import type { CommentsEvents } from '@hyvor/hyvor-talk-base'; type OnType = { [K in T]: (data: CommentsEvents[K]) => void; }; export declare const Comments: React.ForwardRefExoticComponent<{ "website-id": number; "page-id"?: number | string; "page-url"?: string; "page-title"?: string; "page-language"?: string; "page-author"?: string; "sso-user"?: string; "sso-hash"?: string; colors?: "light" | "dark" | "os"; loading?: "default" | "lazy" | "manual"; instance?: string; settings?: { name?: string; custom_css?: string | null; comments_view?: { default_sort?: "top" | "newest" | "oldest"; note?: string | null; close_after_days?: number; is_keyboard_navigation_on?: boolean; nested_levels?: number; display_replied_to_type?: "none" | "deep" | "all"; }; profiles?: { pictures?: boolean; profile?: boolean; default_picture?: string | null; display_name_type?: "name" | "username"; mod_alias_name?: string | null; mod_alias_picture?: string | null; mod_badge_id?: number | null; }; realtime?: { on?: boolean; count?: boolean; users?: boolean; typing?: "off" | "on_without_typer" | "on_with_typer"; }; voting?: { type?: "none" | "both" | "upvotes"; voters?: boolean; guest?: boolean; }; top_widget?: "reactions" | "ratings" | "none"; reactions?: { configs?: { type?: "love" | "superb" | "wow" | "sad" | "laugh" | "angry"; is_shown?: boolean; image_url?: string | null; text?: string; }[]; display_type?: "text" | "both" | "image"; }; ratings?: { star_color?: string; }; text?: { comment_box?: string | null; reply_box?: string | null; no_comments?: string | null; reactions?: string | null; ratings?: string | null; comment_count_0?: string | null; comment_count_1?: string | null; comment_count_multi?: string | null; }; editor?: { emoji?: boolean; images?: boolean; gifs?: boolean; embeds?: boolean; mentions?: boolean; code_blocks?: boolean; blockquotes?: boolean; inline_styles?: boolean; links?: boolean; math?: boolean; }; ui?: { width?: number | null; box_shadow?: string; box_radius?: string; box_border_size?: string; box_border_color?: string; button_radius?: string; color_theme?: "light" | "dark" | "os"; }; light_palette?: { text?: string; accent?: string; accent_text?: string; box?: string; box_text?: string; box_text_light?: string; input?: string; }; dark_palette?: { text?: string; accent?: string; accent_text?: string; box?: string; box_text?: string; box_text_light?: string; input?: string; }; highlight?: { new?: boolean; new_color?: string; upvote_1_threshold?: null | number; upvote_2_threshold?: null | number; upvote_1_color?: string; upvote_2_color?: string; }; }; translations?: Partial>; } & Partial<{ "t-search": string; "t-link": string; "t-reactions-text": string; "t-ratings-text": string; "t-ratings-1": string; "t-ratings-multi": string; "t-login": string; "t-login-to-continue": string; "t-page-closed": string; "t-login-to-comment": string; "t-no-comments-text": string; "t-comments-0": string; "t-comments-1": string; "t-comments-multi": string; "t-online": string; "t-notifications": string; "t-notifications-no": string; "t-notifications-read": string; "t-notifications-reply": string; "t-notifications-mention": string; "t-notifications-load-more": string; "t-top": string; "t-newest": string; "t-oldest": string; "t-just-now": string; "t-ago-seconds": string; "t-ago-day": string; "t-ago-days": string; "t-ago-hour": string; "t-ago-hours": string; "t-ago-minute": string; "t-ago-minutes": string; "t-ago-year": string; "t-ago-years": string; "t-featured": string; "t-pending": string; "t-deleted": string; "t-loved-by": string; "t-team": string; "t-author": string; "t-edited": string; "t-moderate": string; "t-spam": string; "t-feature": string; "t-unfeature": string; "t-love": string; "t-unlove": string; "t-show-more": string; "t-show-less": string; "t-expand-comment": string; "t-expand-comments": string; "t-load-more-comments": string; "t-load-more": string; "t-more-replies": string; "t-hidden-comment": string; "t-reply": string; "t-replying-with-count": string; "t-guest": string; "t-guests": string; "t-show-new-comment": string; "t-show-new-comments": string; "t-show-new-reply": string; "t-show-new-replies": string; "t-show-all-comments": string; "t-show-parent-comment": string; "t-guest-name": string; "t-guest-email": string; "t-guest-name-fill": string; "t-guest-email-required": string; "t-guest-email-invalid": string; "t-comment-char-limit": string; "t-comment-box-text": string; "t-reply-box-text": string; "t-guest-vote": string; "t-as-guest": string; "t-comment-button-text": string; "t-reply-button-text": string; "t-edit": string; "t-delete": string; "t-delete-confirm": string; "t-cancel": string; "t-search-comments": string; "t-search-back": string; "t-search-type": string; "t-flag": string; "t-unflag": string; "t-flag-comment": string; "t-flag-reason": string; "t-optional": string; "t-banned": string; "t-comments": string; "t-settings": string; "t-settings-for-website": string; "t-blocked": string; "t-unblocked": string; "t-reply-emails": string; "t-mention-emails": string; "t-saved": string; "t-no-results": string; "t-powered-by": string; "t-upload-image": string; "t-or": string; "t-paste-url": string; "t-add": string; "t-embed": string; "t-copy-link": string; "t-link-copied": string; "t-block": string; "t-block-button": string; "t-unblock": string; "t-account-logout": string; "t-account-my": string; "t-default-error": string; }> & { on?: Partial; } & React.RefAttributes>; export {}; //# sourceMappingURL=comments.d.ts.map