import React from 'react'; import type { Comment as CommentRecord } from '@pantheon-systems/css-client'; import type { ProposalActions } from '../proposals.js'; export interface CommentListProps { /** Which thread these comments belong to, so switching threads re-triggers the * jump-to-bottom even when the new thread happens to have the same comment count. * Absent for a thread that has not been created yet. */ threadId: string | undefined; /** What has been said so far, oldest first. */ comments: readonly CommentRecord[]; /** What the reader can do to an agent's proposal. Nothing, when absent. */ proposalActions?: ProposalActions; } /** Everything said in a thread, in order, on one shared clock for the relative times. */ export declare function CommentList({ threadId, comments, proposalActions }: CommentListProps): React.ReactElement;