/// <reference types="react" />
import { Comment } from '@parlor/common';
type CommentsProps = {
    comments?: Comment[];
    hasCreateInput?: boolean;
    isExample?: boolean;
    isLoadingComments?: boolean;
    onCreate?: (editor: any) => void;
    postID?: string;
};
export declare const ENTER_KEY = "Enter";
export declare const Comments: ({ isLoadingComments, hasCreateInput, comments, onCreate, isExample, postID, }: CommentsProps) => JSX.Element;
export {};
