export interface DocumentCommentDraft { id: string; from: number; to: number; anchorText: string; } export declare const DocumentCommentComposer: import("react").ForwardRefExoticComponent<{ author?: string; draft: DocumentCommentDraft; top: number; onCancel: () => void; onDirtyChange?: (dirty: boolean) => void; onSubmit: (text: string) => string | null; } & import("react").RefAttributes>;