import React from 'react'; import type { ThreadSubject } from '../types.js'; export interface CommentThreadHeaderProps { /** What the thread is about, as shown to the reader. */ label: string; /** Marks the subject with its kind's icon when it has one. */ icon?: ThreadSubject['icon']; resolved: boolean; /** Marks the discussion over. Absent where the reader cannot resolve it. */ onResolve?: () => void; /** The thread is being resolved. */ resolving?: boolean; /** The thread could not be resolved. */ resolveFailed?: boolean; onClose: () => void; } /** Names the content under discussion, offers to end it, and offers the way out. */ export declare function CommentThreadHeader({ label, icon, resolved, onResolve, resolving, resolveFailed, onClose, }: CommentThreadHeaderProps): React.ReactElement;