import type { Comment, CommentAuthorType } from '@pantheon-systems/css-client'; export type CommentBodyPart = { kind: 'text'; text: string; } | { kind: 'mention'; type: CommentAuthorType; name: string; }; /** The body split into runs of text and the members it mentions, in reading order. */ export declare function commentBodyParts(comment: Comment): CommentBodyPart[]; /** The body as plain text, with each mention read as the member's name. */ export declare function commentBodyText(comment: Comment): string;