import React from "react";
import type { EditContextType } from "../client/editContext";
export declare const COMMENT_INPUT_PLACEHOLDER = "Add a comment and notify others with @";
export interface CommentEditorProps {
    editContext?: EditContextType;
    initialText?: string;
    onSave: (text: string, tags: string[]) => void | Promise<void>;
    onCancel: () => void;
    isSaving?: boolean;
    availableTags?: {
        label: string;
        color: string;
    }[];
    selectedTags?: string[];
    placeholder?: string;
    autoFocus?: boolean;
    submitLabel?: string;
    cancelLabel?: string;
    showTagSelector?: boolean;
    compact?: boolean;
    showCancelButton?: boolean;
    clearOnSave?: boolean;
    onKeyDown?: (e: React.KeyboardEvent) => void;
}
export declare function CommentEditor({ editContext: externalEditContext, initialText, onSave, onCancel, isSaving, availableTags, selectedTags: initialSelectedTags, placeholder, autoFocus, submitLabel, cancelLabel, showTagSelector, compact, showCancelButton, clearOnSave, onKeyDown, }: CommentEditorProps): React.JSX.Element;
