/**
 * Inline document-type tag with hover-pencil edit affordance.
 *
 * Renders the current document type as a pill. On hover (or when `force_show=true`)
 * a small pencil icon appears alongside it; clicking opens a dropdown of the
 * available document types. Selecting one fires `on_change` and the parent is
 * expected to update the file's classification + re-run validations.
 *
 * Reusable across file_bar (thread-form) and any other surface that shows a
 * file's document_type pill.
 */
export interface DocumentTypeOption {
    type_id: string;
    type_label: string;
    description?: string;
}
export interface DocumentTypeEditorProps {
    /** Current document type (e.g. "invoice", "unknown"). Falsy → "unknown" pill. */
    current: string | null | undefined;
    /** Available types to choose from. Empty array hides the pencil. */
    available: DocumentTypeOption[];
    /** Fired when the user picks a new type. */
    on_change?: (new_type_id: string) => void | Promise<void>;
    /** Disable interaction (read-only). */
    disabled?: boolean;
    /** Show pencil regardless of hover (for touch targets / mobile). */
    force_show_pencil?: boolean;
    className?: string;
}
export declare function DocumentTypeEditor({ current, available, on_change, disabled, force_show_pencil, className, }: DocumentTypeEditorProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=document_type_editor.d.ts.map